summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/ChangeLog4
-rw-r--r--testsuite/systemtap.base/badkprobe.exp1
2 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index 27cd27b5..fe40eb67 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-11 Wenji Huang <wenji.huang@oracle.com>
+
+ * systemtap.base/badkprobe.exp: Add explicit timeout.
+
2009-01-09 Dave Brolley <brolley@redhat.com>
* lib/systemtap.exp: Remove ssl_server_path and ssl_client_path.
diff --git a/testsuite/systemtap.base/badkprobe.exp b/testsuite/systemtap.base/badkprobe.exp
index 1a1dbad5..efc06695 100644
--- a/testsuite/systemtap.base/badkprobe.exp
+++ b/testsuite/systemtap.base/badkprobe.exp
@@ -5,6 +5,7 @@ if {! [installtest_p]} { untested $test; return }
spawn stap -g -w -e "$script"
expect {
+ -timeout 60
-re "^WARNING: probe .*registration error.*" { pass $test }
eof { fail "$test (eof)" }
timeout { fail "$test (timeout)" }