Add more test cases that now work.
authorMartin Pool <mbp@samba.org>
Mon, 4 Nov 2002 23:10:47 +0000 (23:10 +0000)
committerMartin Pool <mbp@samba.org>
Mon, 4 Nov 2002 23:10:47 +0000 (23:10 +0000)
(This used to be commit 7827536c15ac27ebcc4e9c342be6e203248195f6)

source3/python/examples/tdbpack/test_tdbpack.py

index 4cd425202154bae0ef7aa6b6a81e58c310e70aa2..a88c92f2037c40d0f2b89dcd98bfbe0592104a62 100755 (executable)
@@ -37,7 +37,8 @@ class PackTests(unittest.TestCase):
              ('p', [1], '\x01\0\0\0'),
              ('d', [0x01020304], '\x04\x03\x02\x01'),
              ('d', [0x7fffffff], '\xff\xff\xff\x7f'),
-#              ('d', [0x80000000], '\x00\x00\x00\x80'),
+             ('d', [0x80000000L], '\x00\x00\x00\x80'),
+             ('d', [0x80000069L], '\x69\x00\x00\x80'),
 #              ('d', [-1], '\xff\xff\xff\xff'),
 #              ('d', [-255], '\x01\xff\xff\xff'),
 #              ('d', [-256], '\x00\xff\xff\xff'),