[Python-checkins] CVS: python/dist/src/Lib/test test_fcntl.py,1.9,1.10

Guido van Rossum python-dev@python.org
Mon, 25 Sep 2000 17:31:21 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory slayer.i.sourceforge.net:/tmp/cvs-serv10662

Modified Files:
	test_fcntl.py 
Log Message:
HP-UX is another one of those platforms using an alternative lock
structure (same as AIX).


Index: test_fcntl.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_fcntl.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** test_fcntl.py	2000/08/29 14:56:21	1.9
--- test_fcntl.py	2000/09/26 00:31:18	1.10
***************
*** 22,26 ****
                      'openbsd', 'openbsd2'):
      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)
  else:
--- 22,26 ----
                      'openbsd', 'openbsd2'):
      lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, FCNTL.F_WRLCK, 0)
! elif sys.platform in ['aix3', 'aix4', 'hp-uxB']:
      lockdata = struct.pack('hhlllii', FCNTL.F_WRLCK, 0, 0, 0, 0, 0, 0)
  else: