From 052e68d45e5511234b592d47ad1444bae62c35fc Mon Sep 17 00:00:00 2001 From: David Smith Date: Fri, 30 Oct 2009 10:03:52 -0500 Subject: context.exp test improvements. * testsuite/systemtap.context/args.tcl: Increased timeout. If tests do timeout, fail (instead of silently failing). * testsuite/systemtap.context/num_args.tcl: Ditto. * testsuite/systemtap.context/backtrace.tcl: Increase timeout. * testsuite/systemtap.context/pid.tcl: Ditto. --- testsuite/systemtap.context/num_args.tcl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testsuite/systemtap.context/num_args.tcl') diff --git a/testsuite/systemtap.context/num_args.tcl b/testsuite/systemtap.context/num_args.tcl index 62ac8dd3..d677f849 100644 --- a/testsuite/systemtap.context/num_args.tcl +++ b/testsuite/systemtap.context/num_args.tcl @@ -3,7 +3,7 @@ foreach arglist $arglists { set tag [concat numeric $arglist] eval spawn stap $arglist $srcdir/$subdir/num_args.stp expect { - -timeout 60 + -timeout 120 "READY" { exec echo 1 > /proc/stap_test_cmd expect { @@ -57,6 +57,7 @@ expect { -re "semantic error:" { fail "function arguments -- $tag: compilation failed" } + timeout {fail "all function arguments tests - timeout"} eof {fail "function arguments -- $tag: unexpected timeout"} } exec kill -INT -[exp_pid] -- cgit