diff options
Diffstat (limited to 'testsuite/systemtap.base/bench.exp')
-rw-r--r-- | testsuite/systemtap.base/bench.exp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/bench.exp b/testsuite/systemtap.base/bench.exp new file mode 100644 index 00000000..bc3b28bb --- /dev/null +++ b/testsuite/systemtap.base/bench.exp @@ -0,0 +1,14 @@ +set test "bench" + +if {![installtest_p]} {untested $test; return} + +spawn stap -tu $srcdir/$subdir/bench.stp +set ok 0 +expect { + -timeout 180 + -re {probe[^\r]*\r} { incr ok; exp_continue } + timeout { fail "$test (timeout)" } + eof { } +} +wait +if {$ok > 10} { pass "$test ($ok)" } { fail "$test ($ok)" } |