summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-05-15 11:23:23 +0200
committerMark Wielaard <mjw@redhat.com>2009-05-15 11:23:23 +0200
commitba66469ee107a98d95345a6d6d71cd5bb5831cdc (patch)
tree8054a5d8e119b2c46598999a8d568da069580185
parent873e75ccf0f7188ec5094f7002137ccee7809e5d (diff)
downloadsystemtap-steved-ba66469ee107a98d95345a6d6d71cd5bb5831cdc.tar.gz
systemtap-steved-ba66469ee107a98d95345a6d6d71cd5bb5831cdc.tar.xz
systemtap-steved-ba66469ee107a98d95345a6d6d71cd5bb5831cdc.zip
Set explicit longer, 60 second, timeout for alternatives.exp.
In an make installcheck run this is the first script that goes through the full kernel debuginfo which might take a bit. * testsuite/systemtap.base/alternatives.exp: Set timeout to 60, verbose log EOF or TIMEOUT when they occur.
-rw-r--r--testsuite/systemtap.base/alternatives.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/systemtap.base/alternatives.exp b/testsuite/systemtap.base/alternatives.exp
index 6cbc1e10..f5dc4513 100644
--- a/testsuite/systemtap.base/alternatives.exp
+++ b/testsuite/systemtap.base/alternatives.exp
@@ -26,10 +26,11 @@ proc stap_run_alternatives {args} {
verbose -log "starting $args"
eval spawn $args
expect {
+ -timeout 60
-re {semantic error: .+ \(alternatives: [a-zA-Z_]} {incr alternatives_found; exp_continue}
-re {[^\r]*\r} { verbose -log $expect_out(0,string); exp_continue }
- eof { }
- timeout { }
+ eof { verbose -log "EOF" }
+ timeout { verbose -log "TIMEOUT" }
}
set results [wait]
verbose -log "wait results: $results"