[Bug testsuite/15964] poll_map.exp testcase timeout on ARM
dsmith at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Sep 17 13:29:00 GMT 2013
https://sourceware.org/bugzilla/show_bug.cgi?id=15964
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dsmith at redhat dot com
--- Comment #2 from David Smith <dsmith at redhat dot com> ---
Hmm, it is possible we need to kill the running systemtap when we get a
timeout. Can you try the following (untested) patch?
diff --git a/testsuite/systemtap.base/poll_map.exp
b/testsuite/systemtap.base/poll_map.exp
index 85687b6..228cc9d 100644
--- a/testsuite/systemtap.base/poll_map.exp
+++ b/testsuite/systemtap.base/poll_map.exp
@@ -6,7 +6,10 @@ set ok 0
expect {
-timeout 400
-ex "SUCCESS" { incr ok }
- timeout { fail "$test (timeout)" }
+ timeout {
+ fail "$test (timeout)"
+ exec kill -INT -[exp_pid]
+ }
eof { }
}
catch { close }
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list