summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_fcntl.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-02-23 04:13:37 (GMT)
committerGuido van Rossum <guido@python.org>1999-02-23 04:13:37 (GMT)
commit5ef8f0c3c70fbb6eb7fb801729f00cd74b8301cd (patch)
tree041217b9918fe3aecb90a5b445c28114e842605b /Lib/test/test_fcntl.py
parentc222ec28a54089da3b15da5e06fb7f78ba294866 (diff)
downloadcpython-5ef8f0c3c70fbb6eb7fb801729f00cd74b8301cd.zip
cpython-5ef8f0c3c70fbb6eb7fb801729f00cd74b8301cd.tar.gz
cpython-5ef8f0c3c70fbb6eb7fb801729f00cd74b8301cd.tar.bz2
According to Jeffrey Honig, bsd/os 4.0 should be added to the list.
Diffstat (limited to 'Lib/test/test_fcntl.py')
-rwxr-xr-xLib/test/test_fcntl.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py
index f2d4537..10144c3 100755
--- a/Lib/test/test_fcntl.py
+++ b/Lib/test/test_fcntl.py
@@ -16,7 +16,9 @@ rv = fcntl.fcntl(f.fileno(), FCNTL.F_SETFL, os.O_NONBLOCK)
if verbose:
print 'Status from fnctl with O_NONBLOCK: ', rv
-if sys.platform in ('netbsd1', 'freebsd2', 'freebsd3', 'bsdos2', 'bsdos3'):
+if sys.platform in ('netbsd1',
+ 'freebsd2', 'freebsd3',
+ 'bsdos2', 'bsdos3', 'bsdos4'):
lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, FCNTL.F_WRLCK, 0)
elif sys.platform in ['aix3', 'aix4']:
lockdata = struct.pack('hhlllii', FCNTL.F_WRLCK, 0, 0, 0, 0, 0, 0)