This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/15964] poll_map.exp testcase timeout on ARM


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]