OS/2 EMX port Library and regression test changes:
Lib/
os.py
os2emxpath.py // added - OS/2 EMX specific path manipulation routines
popen2.py
site.py
Lib/test/
test_fcntl.py
test_longexp.py
diff --git a/Lib/test/test_longexp.py b/Lib/test/test_longexp.py
index 243b28a..8abb6db 100644
--- a/Lib/test/test_longexp.py
+++ b/Lib/test/test_longexp.py
@@ -1,4 +1,12 @@
+# this test has a malloc problem on OS/2+EMX, so skip test in that environment
+
+import sys
+from test_support import TestFailed
+
REPS = 65580
-l = eval("[" + "2," * REPS + "]")
-print len(l)
+if sys.platform == "os2emx":
+ raise TestFailed, "OS/2+EMX port has malloc problems with long expressions"
+else:
+ l = eval("[" + "2," * REPS + "]")
+ print len(l)