]> sourceware.org Git - systemtap.git/commitdiff
New regression test for rhbz1214176.
authorMartin Cermak <mcermak@redhat.com>
Wed, 9 Sep 2015 16:25:30 +0000 (18:25 +0200)
committerMartin Cermak <mcermak@redhat.com>
Wed, 9 Sep 2015 16:25:30 +0000 (18:25 +0200)
testsuite/systemtap.base/bz1214176.exp [new file with mode: 0644]

diff --git a/testsuite/systemtap.base/bz1214176.exp b/testsuite/systemtap.base/bz1214176.exp
new file mode 100644 (file)
index 0000000..160edc4
--- /dev/null
@@ -0,0 +1,13 @@
+set test "bz1214176"
+
+proc chk_rc {command} {
+    set rc [catch {eval exec "$command"} msg]
+    if {$rc == 0} { pass "$command" } else { fail "$command" }
+}
+
+chk_rc "stap -p4 -e { probe nfs.proc.read_done { println(server_ip) } }"
+chk_rc "stap -p4 -e { probe nfs.proc.read_setup { println(count) } } "
+chk_rc "stap -p4 -e { probe nfs.proc.rename { println(name) } }"
+
+
+
This page took 0.031235 seconds and 5 git commands to generate.