summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2010-12-14 18:21:59 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2010-12-14 18:21:59 (GMT)
commit0fc12bd026cac3d5652de91b7574858a91a39c5b (patch)
tree62a672a10d0d54d5323be364585c39f008cac97a
parentf8a6391991946a3e9ce79dbca1c20aec7596f8e0 (diff)
downloadcpython-0fc12bd026cac3d5652de91b7574858a91a39c5b.zip
cpython-0fc12bd026cac3d5652de91b7574858a91a39c5b.tar.gz
cpython-0fc12bd026cac3d5652de91b7574858a91a39c5b.tar.bz2
SIGCHLD is a more portable name than SIGCLD (OSX has no SIGCLD).
-rw-r--r--Lib/test/subprocessdata/sigchild_ignore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/subprocessdata/sigchild_ignore.py b/Lib/test/subprocessdata/sigchild_ignore.py
index 1d03303..6072aec 100644
--- a/Lib/test/subprocessdata/sigchild_ignore.py
+++ b/Lib/test/subprocessdata/sigchild_ignore.py
@@ -2,5 +2,5 @@ import signal, subprocess, sys
# On Linux this causes os.waitpid to fail with OSError as the OS has already
# reaped our child process. The wait() passing the OSError on to the caller
# and causing us to exit with an error is what we are testing against.
-signal.signal(signal.SIGCLD, signal.SIG_IGN)
+signal.signal(signal.SIGCHLD, signal.SIG_IGN)
subprocess.Popen([sys.executable, '-c', 'print("albatross")']).wait()