[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. 84a5cd7ce35b3382ca1b

From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. 84a5cd7ce35b3382ca1b6e8a0c2cceb0f9c42bc4
Date: Fri, 19 Nov 2010 13:27:17 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  84a5cd7ce35b3382ca1b6e8a0c2cceb0f9c42bc4 (commit)
      from  5b4b269c545335828464af4d738d571e0234e58d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 84a5cd7ce35b3382ca1b6e8a0c2cceb0f9c42bc4
Author: Sandro Santilli <address@hidden>
Date:   Fri Nov 19 14:27:04 2010 +0100

    Really kill spawned process on expect timeout

diff --git a/testsuite/simple.exp b/testsuite/simple.exp
index ee4ee0e..daa0194 100644
--- a/testsuite/simple.exp
+++ b/testsuite/simple.exp
@@ -36,7 +36,7 @@ foreach file $testcases {
     # -open [open "|cmd" "r"] doesn't work for that
     # Ignore SIGHUP or we'd get a lot of them on Debian stable
-    spawn -noecho -ignore SIGHUP ./$file 
+    set PID [spawn -noecho -ignore SIGHUP ./$file]
     expect {
        -re "^\[^\n]*NOTE:\[^\n]*\n" {
@@ -95,6 +95,7 @@ foreach file $testcases {
        timeout {
                fail "Test case ${file} still running after ${timeout} seconds, 
killing it (deadlock?)"
+               exec kill -9 $PID
                catch close


Summary of changes:
 testsuite/simple.exp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]