Author: Armin Rigo <[email protected]>
Branch: kill-someobject
Changeset: r57967:cec6ccad68b1
Date: 2012-10-10 11:38 +0200
http://bitbucket.org/pypy/pypy/changeset/cec6ccad68b1/

Log:    Fix in test_extfunc: avoids the test runner getting killed with
        SIGUSR1.

diff --git a/pypy/translator/c/test/test_extfunc.py 
b/pypy/translator/c/test/test_extfunc.py
--- a/pypy/translator/c/test/test_extfunc.py
+++ b/pypy/translator/c/test/test_extfunc.py
@@ -569,6 +569,7 @@
         import signal
         from pypy.module.signal import interp_signal
         def does_stuff():
+            os.setpgid(0, 0)     # become its own separated process group
             interp_signal.pypysig_setflag(signal.SIGUSR1)
             os.killpg(os.getpgrp(), signal.SIGUSR1)
             interp_signal.pypysig_ignore(signal.SIGUSR1)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to