diff options
Diffstat (limited to 'testsuite/systemtap.base/arith_limits.exp')
-rw-r--r-- | testsuite/systemtap.base/arith_limits.exp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/arith_limits.exp b/testsuite/systemtap.base/arith_limits.exp new file mode 100644 index 00000000..93794c8e --- /dev/null +++ b/testsuite/systemtap.base/arith_limits.exp @@ -0,0 +1,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" } |