summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_fcntl.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-11 16:21:04 (GMT)
committerGuido van Rossum <guido@python.org>1998-08-11 16:21:04 (GMT)
commitdf23ef47633501d96ce51fa102565965c964b3cc (patch)
tree6c97e3d04314ce43d6673787686dc64dca129fd6 /Lib/test/test_fcntl.py
parentbd65706fe3c6f1ff1e13c1899d55ea0ea0e0b3a0 (diff)
downloadcpython-df23ef47633501d96ce51fa102565965c964b3cc.zip
cpython-df23ef47633501d96ce51fa102565965c964b3cc.tar.gz
cpython-df23ef47633501d96ce51fa102565965c964b3cc.tar.bz2
Guess what -- BSD has bifurcated again. :-(
Diffstat (limited to 'Lib/test/test_fcntl.py')
-rwxr-xr-xLib/test/test_fcntl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py
index 2ae6b99..f2d4537 100755
--- a/Lib/test/test_fcntl.py
+++ b/Lib/test/test_fcntl.py
@@ -16,7 +16,7 @@ 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'):
+if sys.platform in ('netbsd1', 'freebsd2', 'freebsd3', 'bsdos2', 'bsdos3'):
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)