From: Frank Ch. Eigler Date: Thu, 21 Jul 2011 00:42:11 +0000 (-0400) Subject: testsuite: bump up cmd_parse.exp #8 timeout, explain why it's slow X-Git-Tag: release-1.6~12^2~15 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=6e70fcd5cdba05e5d46bbbdf1bd945188eddaf92;p=systemtap.git testsuite: bump up cmd_parse.exp #8 timeout, explain why it's slow --- diff --git a/testsuite/systemtap.base/cmd_parse.exp b/testsuite/systemtap.base/cmd_parse.exp index 710f25105..3fdae33ed 100644 --- a/testsuite/systemtap.base/cmd_parse.exp +++ b/testsuite/systemtap.base/cmd_parse.exp @@ -68,10 +68,12 @@ expect { } wait;catch {close} +# slow test case; requires kernel tracepoint query modules spawn stap -l {vm.*} expect { - -timeout 60 - -re "vm.*" {pass "cmd_parse8"} + -timeout 240 + -re {^vm[^\r\n]*\r\n} {pass "cmd_parse8"} + -re "^Warning: make exited with status: 2\r\n" {exp_continue} timeout {fail "cmd_parse8: unexpected timeout"} eof {fail "cmd_parse8: unexpected EOF"} }