summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2010-12-14 18:20:45 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2010-12-14 18:20:45 (GMT)
commitc6637a507a46bb73d08374f56993064be0d0fae0 (patch)
tree0da58a578e19dd5b4ecda131ddec0d5df06234c5
parentd8fec5ff08b3699cd0054d26ebe633e1665cb1b4 (diff)
downloadcpython-c6637a507a46bb73d08374f56993064be0d0fae0.zip
cpython-c6637a507a46bb73d08374f56993064be0d0fae0.tar.gz
cpython-c6637a507a46bb73d08374f56993064be0d0fae0.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()