summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/prologues.exp
diff options
context:
space:
mode:
authorhunt <hunt>2007-06-18 16:33:03 +0000
committerhunt <hunt>2007-06-18 16:33:03 +0000
commit59cbc061bc3f155222a3ce640217834a4148aa41 (patch)
treec62d46f4defd5f15201c952b3ab10842abeb1797 /testsuite/systemtap.base/prologues.exp
parent6b159469f0daab2bc463c7ffbd3660b11c25ec22 (diff)
downloadsystemtap-steved-59cbc061bc3f155222a3ce640217834a4148aa41.tar.gz
systemtap-steved-59cbc061bc3f155222a3ce640217834a4148aa41.tar.xz
systemtap-steved-59cbc061bc3f155222a3ce640217834a4148aa41.zip
2007-06-18 Martin Hunt <hunt@redhat.com>
From Quentin Barnes. * lib/stap_run.exp, lib/stap_run2.exp, lib/systemtap.exp, systemtap.base/cache.exp, systemtap.base/optim.exp, systemtap.base/overload.exp, systemtap.base/prologues.exp, systemtap.maps/absentstats.exp, systemtap.maps/foreach_fail.exp, systemtap.maps/ix_clear*.exp, systemtap.maps/pmap_agg_overflow.exp, systemtap.samples/args.exp, systemtap.samples/arith.exp, systemtap.samples/arith_limits.exp, systemtap.samples/control_limits.exp, systemtap.samples/lket.exp, systemtap.samples/pfaults.exp, systemtap.samples/poll_map.exp, systemtap.samples/primes.exp, systemtap.samples/profile.exp, systemtap.samples/queue_demo.exp, systemtap.samples/symbols.exp, systemtap.samples/syscalls1.exp, systemtap.samples/syscalls2.exp, systemtap.samples/transport.exp: Small fixes to patterns, plus fix timeouts for slower systems.
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