[Python-checkins] r87241 - python/branches/py3k/Lib/test/subprocessdata/sigchild_ignore.py
gregory.p.smith
python-checkins at python.org
Tue Dec 14 19:18:55 CET 2010
Author: gregory.p.smith
Date: Tue Dec 14 19:18:49 2010
New Revision: 87241
Log:
SIGCHLD is a more portable name than SIGCLD. (OSX has no SIGCLD)
Modified:
python/branches/py3k/Lib/test/subprocessdata/sigchild_ignore.py
Modified: python/branches/py3k/Lib/test/subprocessdata/sigchild_ignore.py
==============================================================================
--- python/branches/py3k/Lib/test/subprocessdata/sigchild_ignore.py (original)
+++ python/branches/py3k/Lib/test/subprocessdata/sigchild_ignore.py Tue Dec 14 19:18:49 2010
@@ -2,5 +2,5 @@
# 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()
More information about the Python-checkins
mailing list