summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/bench.exp
blob: bc3b28bb4de3155834dcd8d8c2b1b56ddf0c7c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)" }