summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/arith_limits.exp
blob: 93794c8e902e8405a4b1465ffacc2026b876df98 (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 150
    -re {passes: [0-9]* failures: 0} { incr ok }
    timeout { fail "$test (timeout)" }
    eof { }
}
wait
if {$ok == 1} { pass "$test" } { fail "$test" }