From f3d75239e30b5ba55936d9340b0e95caa698034b Mon Sep 17 00:00:00 2001 From: David Smith Date: Tue, 29 Sep 2009 11:00:26 -0500 Subject: [PATCH] Added timeouts to test 15 & 16. --- testsuite/systemtap.base/cmd_parse.exp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuite/systemtap.base/cmd_parse.exp b/testsuite/systemtap.base/cmd_parse.exp index aaf3a5fd7..ee52e1da6 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" } -- 2.43.5