[Python-checkins] python/dist/src/Lib/test test_fcntl.py,1.20,1.20.6.1

mwh@users.sourceforge.net mwh@users.sourceforge.net
Fri, 23 Aug 2002 09:06:48 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv12453

Modified Files:
      Tag: release22-maint
	test_fcntl.py 
Log Message:
backport gvanrossum's checkin of
    revision 1.22 of test_fcntl.py

SF 554663.  Add OpenBSD3.  Bugfix candidate if anyone cares.


Index: test_fcntl.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_fcntl.py,v
retrieving revision 1.20
retrieving revision 1.20.6.1
diff -C2 -d -r1.20 -r1.20.6.1
*** test_fcntl.py	5 Dec 2001 23:27:32 -0000	1.20
--- test_fcntl.py	23 Aug 2002 16:06:46 -0000	1.20.6.1
***************
*** 20,24 ****
                      'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
                      'bsdos2', 'bsdos3', 'bsdos4',
!                     'openbsd', 'openbsd2'):
      lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, fcntl.F_WRLCK, 0)
  elif sys.platform in ['aix3', 'aix4', 'hp-uxB', 'unixware7']:
--- 20,24 ----
                      'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
                      'bsdos2', 'bsdos3', 'bsdos4',
!                     'openbsd', 'openbsd2', 'openbsd3'):
      lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, fcntl.F_WRLCK, 0)
  elif sys.platform in ['aix3', 'aix4', 'hp-uxB', 'unixware7']: