]> sourceware.org Git - systemtap.git/commitdiff
Added timeouts to test 15 & 16.
authorDavid Smith <dsmith@redhat.com>
Tue, 29 Sep 2009 16:00:26 +0000 (11:00 -0500)
committerDavid Smith <dsmith@redhat.com>
Tue, 29 Sep 2009 16:00:26 +0000 (11:00 -0500)
testsuite/systemtap.base/cmd_parse.exp

index aaf3a5fd7398b24039a938ab19da16ff071cf99d..ee52e1da667779a8b7d3fafd803e3564d84333f5 100644 (file)
@@ -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" }
This page took 0.028694 seconds and 5 git commands to generate.