summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/prologues.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.base/prologues.exp')
-rw-r--r--testsuite/systemtap.base/prologues.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/prologues.exp b/testsuite/systemtap.base/prologues.exp
index b0f6a5c6..48f994a5 100644
--- a/testsuite/systemtap.base/prologues.exp
+++ b/testsuite/systemtap.base/prologues.exp
@@ -3,8 +3,10 @@ if {! [installtest_p]} { untested $test } else {
set ok 0
spawn stap -P $srcdir/$subdir/prologues.stp
expect {
+ -timeout 240
-re {read[^\r\n]*\r\n} { incr ok; exp_continue }
-re {write[^\r\n]*\r\n} { incr ok; exp_continue }
+ timeout { fail "$test (timeout)" }
eof
}
wait
@@ -16,8 +18,10 @@ if {! [installtest_p]} { untested $test } else {
set ok 0
spawn stap $srcdir/$subdir/prologues.stp
expect {
+ -timeout 240
-re {read[^\r\n]*\r\n} { incr ok; exp_continue }
-re {write[^\r\n]*\r\n} { incr ok; exp_continue }
+ timeout { fail "$test (timeout)" }
eof
}
wait