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/15965] pr10854.exp testcase waiting for ever on ARM


https://sourceware.org/bugzilla/show_bug.cgi?id=15965

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dsmith at redhat dot com

--- Comment #1 from David Smith <dsmith at redhat dot com> ---
(In reply to Naresh Kamboju from comment #0)
> while running "make installcheck" systemtap.base/pr10854.exp is retuning
> anything and waiting forever in the execution on ARM.
> 
> ---------------------------------------------------
> # make installcheck
> Running ./systemtap.base/pr10854.exp ...                                    

Here's a patch that might fix this. This one is a bit trickier since this might
change the behavior of the test.

(Note that pastebin isn't a good place for your attachments since they can
expire on pastebin. Please attach files directly to the bug.)

diff --git a/testsuite/systemtap.base/pr10854.exp
b/testsuite/systemtap.base/pr10854.exp
index ab68356..fdff19a 100644
--- a/testsuite/systemtap.base/pr10854.exp
+++ b/testsuite/systemtap.base/pr10854.exp
@@ -26,6 +26,7 @@ for {set i 0} {$i < 10} {incr i} {
     sleep 1
     catch { exec pkill stapio -P [pid] 2>/dev/null }
     catch { exec pkill -9 stapio -P [pid] 2>/dev/null }
+    catch { exec kill -INT -[exp_pid] }
     catch { close } 
     catch { wait } 
     # don't delay before the next staprun

-- 
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]