summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples/arith_limits.exp
blob: 365c65db8a69de6655a7bfac63228ab9de7c3e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
set test "arith_limits"
if {![installtest_p]} { untested $test; return }

spawn stap -DMAXNESTING=5 $srcdir/$subdir/arith_limits.stp
set ok 0
expect {
    -timeout 30
    -re {passes: [0-9]* failures: 0} { incr ok }
    timeout { fail "$test (timeout)" }
    eof { }
}
wait
if {$ok == 1} { pass "$test" } { fail "$test" }