Commits

Armin Rigo  committed cec6cca

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

  • Participants
  • Parent commits b55b47d
  • Branches kill-someobject

Comments (0)

Files changed (1)

File pypy/translator/c/test/test_extfunc.py

         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)