summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/kprobes.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.base/kprobes.exp')
-rw-r--r--testsuite/systemtap.base/kprobes.exp7
1 files changed, 6 insertions, 1 deletions
diff --git a/testsuite/systemtap.base/kprobes.exp b/testsuite/systemtap.base/kprobes.exp
index 635930f8..9f92f14a 100644
--- a/testsuite/systemtap.base/kprobes.exp
+++ b/testsuite/systemtap.base/kprobes.exp
@@ -1,2 +1,7 @@
set test "kprobes"
-stap_run $srcdir/$subdir/$test.stp no_load "probe point hit"
+spawn stap -vv $srcdir/$subdir/$test.stp
+expect {
+ -timeout 120
+ "systemtap starting probe" { pass "$test (probe_hit)" }
+ timeout { fail "$test (timeout)" }
+ }