summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_fork1.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_fork1.py')
-rw-r--r--Lib/test/test_fork1.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_fork1.py b/Lib/test/test_fork1.py
index de9f7a9..51e6c58 100644
--- a/Lib/test/test_fork1.py
+++ b/Lib/test/test_fork1.py
@@ -48,7 +48,10 @@ def main():
prefork_lives = alive.copy()
- cpid = os.fork()
+ if sys.platform in ['unixware7']:
+ cpid = os.fork1()
+ else:
+ cpid = os.fork()
if cpid == 0:
# Child