diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py index a6267d27f7f..694e3f06ddc 100644 --- a/Lib/test/test_signal.py +++ b/Lib/test/test_signal.py @@ -10,7 +10,10 @@ if verbose: x = '-x' else: x = '+x' + pid = os.getpid() +if verbose: + print "test runner's pid is", pid # Shell script that will send us asynchronous signals script = """ @@ -89,7 +92,8 @@ def force_test_exit(): time.sleep(MAX_DURATION + 5) print >> sys.__stdout__, ' child should not have to kill parent' for i in range(3): - os.kill(pid, signal.SIGALARM) + os.kill(pid, signal.SIGALRM) + print >> sys.__stdout__, " child sent SIGALRM to", pid finally: os._exit(0) # In parent (or error)