]> sourceware.org Git - systemtap.git/commitdiff
testsuite: bump up cmd_parse.exp #8 timeout, explain why it's slow
authorFrank Ch. Eigler <fche@redhat.com>
Thu, 21 Jul 2011 00:42:11 +0000 (20:42 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Thu, 21 Jul 2011 00:42:11 +0000 (20:42 -0400)
testsuite/systemtap.base/cmd_parse.exp

index 710f2510581c2181b5780bec35962d90e9d09632..3fdae33ed89fb3d5527f66d4ae7869bd90df45ac 100644 (file)
@@ -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"}
 }
This page took 0.027666 seconds and 5 git commands to generate.