From 595d75d80e0301fe7dca9b0614ce58b1e0a5d474 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 22 Jun 2009 13:59:58 -0700 Subject: Bump up the default timeout for target_set test Starting the test with a cold cache can take easily longer than dejagnu's default 10 second timeout. I'm bumping it to 180 seconds, the same as in the stap_run library functions. --- testsuite/systemtap.base/target_set.exp | 1 + 1 file changed, 1 insertion(+) (limited to 'testsuite/systemtap.base') diff --git a/testsuite/systemtap.base/target_set.exp b/testsuite/systemtap.base/target_set.exp index 998fd4a1..4b6e0a5d 100644 --- a/testsuite/systemtap.base/target_set.exp +++ b/testsuite/systemtap.base/target_set.exp @@ -46,6 +46,7 @@ proc expect_target_set_pids generations { spawn stap $file $time -c "$stap_cmd" expect { + -timeout 180 -re {^(\d+)\r\n} { set stp_pid $expect_out(1,string) } timeout { failtest; return } } -- cgit