diff options
author | David Smith <dsmith@redhat.com> | 2009-10-30 10:03:52 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2009-10-30 10:03:52 -0500 |
commit | 052e68d45e5511234b592d47ad1444bae62c35fc (patch) | |
tree | 7e8d74c4201188cca0d0798428fb375cbadc9fed /testsuite/systemtap.context/args.tcl | |
parent | 1ee6b5fcc17adf0b02417ac9fa0c05523b8d79c4 (diff) | |
download | systemtap-steved-052e68d45e5511234b592d47ad1444bae62c35fc.tar.gz systemtap-steved-052e68d45e5511234b592d47ad1444bae62c35fc.tar.xz systemtap-steved-052e68d45e5511234b592d47ad1444bae62c35fc.zip |
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.
Diffstat (limited to 'testsuite/systemtap.context/args.tcl')
-rw-r--r-- | testsuite/systemtap.context/args.tcl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/systemtap.context/args.tcl b/testsuite/systemtap.context/args.tcl index fb8aecb4..c5aed203 100644 --- a/testsuite/systemtap.context/args.tcl +++ b/testsuite/systemtap.context/args.tcl @@ -1,6 +1,6 @@ spawn stap $srcdir/$subdir/args.stp expect { - -timeout 60 + -timeout 120 "READY" { exec echo 1 > /proc/stap_test_cmd expect { @@ -51,6 +51,7 @@ expect { timeout {fail "string function arguments"} } } + timeout {fail "all args tests - timeout"} eof {fail "function arguments: unexpected timeout"} } exec kill -INT -[exp_pid] |