* 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.
spawn stap $srcdir/$subdir/args.stp
expect {
- -timeout 60
+ -timeout 120
"READY" {
exec echo 1 > /proc/stap_test_cmd
expect {
timeout {fail "string function arguments"}
}
}
+ timeout {fail "all args tests - timeout"}
eof {fail "function arguments: unexpected timeout"}
}
exec kill -INT -[exp_pid]
spawn stap $srcdir/$subdir/backtrace.stp
#exp_internal 1
expect {
- -timeout 60
+ -timeout 120
"Systemtap probe: begin\r\n" {
pass "backtrace of begin probe"
exec echo 0 > /proc/stap_test_cmd
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 {
-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]
spawn stap $srcdir/$subdir/pid.stp
#exp_internal 1
expect {
- -timeout 60
+ -timeout 120
"READY" {
set pid [exec echo 1 > /proc/stap_test_cmd &]
set ppid {[0-9]*}