summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-09-29 11:00:26 -0500
committerDavid Smith <dsmith@redhat.com>2009-09-29 11:00:26 -0500
commitf3d75239e30b5ba55936d9340b0e95caa698034b (patch)
treec699a7778e6bc4b2586a4a8b6c287d55cefdcd75
parent68983551cc9390aa2bddd8e62ed0f0e3eca1edb6 (diff)
downloadsystemtap-steved-f3d75239e30b5ba55936d9340b0e95caa698034b.tar.gz
systemtap-steved-f3d75239e30b5ba55936d9340b0e95caa698034b.tar.xz
systemtap-steved-f3d75239e30b5ba55936d9340b0e95caa698034b.zip
Added timeouts to test 15 & 16.
-rw-r--r--testsuite/systemtap.base/cmd_parse.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/cmd_parse.exp b/testsuite/systemtap.base/cmd_parse.exp
index aaf3a5fd..ee52e1da 100644
--- a/testsuite/systemtap.base/cmd_parse.exp
+++ b/testsuite/systemtap.base/cmd_parse.exp
@@ -140,6 +140,7 @@ spawn sh -c "stap -m do_not_cache_me -B kernelrelease -p4 -e 'probe begin {exit(
# the \r below is meant to match the "kernelrelease" output, as distinct from
# any possible auxiliary make verbosity.
expect {
+ -timeout 60
-re "$uname\r" { pass "cmd_parse15" }
timeout { fail "cmd_parse15: timeout" }
eof { fail "cmd_parse15: eof" }
@@ -151,6 +152,7 @@ spawn sh -c "stap -m do_not_cache_me -a $uname -p4 -e 'probe begin {exit()}'"
# the \r below is meant to match the "kernelrelease" output, as distinct from
# any possible auxiliary make verbosity.
expect {
+ -timeout 60
-re "do_not_cache_me.ko\r" { pass "cmd_parse16" }
timeout { fail "cmd_parse16: timeout" }
eof { fail "cmd_parse16: eof" }