diff options
author | Ananth N Mavinakayanahalli <ananth@in.ibm.com> | 2009-05-04 15:39:23 +0530 |
---|---|---|
committer | Ananth N Mavinakayanahalli <ananth@in.ibm.com> | 2009-05-04 15:39:23 +0530 |
commit | 97d1fa6e24d8d4e8ceefc62f0d4a7f93a18e4125 (patch) | |
tree | 47873f50637408b211c6686a83a8f218929b548c | |
parent | 900dcfd69f1c86b2a27b27db38972347f693b263 (diff) | |
download | systemtap-steved-97d1fa6e24d8d4e8ceefc62f0d4a7f93a18e4125.tar.gz systemtap-steved-97d1fa6e24d8d4e8ceefc62f0d4a7f93a18e4125.tar.xz systemtap-steved-97d1fa6e24d8d4e8ceefc62f0d4a7f93a18e4125.zip |
Fix kprobes.exp.
Patch from Prerna Saxena.
-rw-r--r-- | testsuite/systemtap.base/kprobes.exp | 7 |
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)" } + } |