summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/optionalprobe.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.base/optionalprobe.exp')
-rw-r--r--testsuite/systemtap.base/optionalprobe.exp9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/optionalprobe.exp b/testsuite/systemtap.base/optionalprobe.exp
new file mode 100644
index 00000000..5484003c
--- /dev/null
+++ b/testsuite/systemtap.base/optionalprobe.exp
@@ -0,0 +1,9 @@
+set test "optionalprobe"
+spawn stap -p2 -w $srcdir/$subdir/$test.stp
+expect {
+ -timeout 60
+ -re "# probes\r\n" { exp_continue }
+ -re "^begin" { pass $test }
+ eof { fail $test }
+ timeout { fail "$test unexpected timeout" }
+}