From dc38c256fac058289cdebd0fde881b4faf24b9d1 Mon Sep 17 00:00:00 2001 From: Wenji Huang Date: Sun, 11 Jan 2009 18:39:55 -0500 Subject: Fix compilation warning of too large number on 32-bits machines. --- testsuite/ChangeLog | 4 ++++ testsuite/systemtap.base/badkprobe.exp | 1 + 2 files changed, 5 insertions(+) (limited to 'testsuite') 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 + + * systemtap.base/badkprobe.exp: Add explicit timeout. + 2009-01-09 Dave Brolley * 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)" } -- cgit