Merged revisions 64356 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64356 | benjamin.peterson | 2008-06-17 17:40:44 -0500 (Tue, 17 Jun 2008) | 1 line
skip test_multiprocessing when /dev/shm doesn't exist. This seems to be a chroot problem in the buildbot env.
........
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py
index 4b36efe..14341be 100644
--- a/Lib/test/test_multiprocessing.py
+++ b/Lib/test/test_multiprocessing.py
@@ -1755,6 +1755,9 @@
#
def test_main(run=None):
+ if sys.platform.startswith("linux") and not os.path.exists("/dev/shm"):
+ raise TestSkipped("Missing required /dev/shm device on Linux!")
+
if run is None:
from test.support import run_unittest as run