summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-11-04 23:10:47 +0000
committerMartin Pool <mbp@samba.org>2002-11-04 23:10:47 +0000
commite6aa69bac7fbbb9d9b19161cf0119da0a6e8ec14 (patch)
tree51f1bba78ed1ab413d4943935672c876497e2c45
parent3f9dac69487fc046b1bcc1730b3c22128311ad8c (diff)
downloadsamba-e6aa69bac7fbbb9d9b19161cf0119da0a6e8ec14.tar.gz
samba-e6aa69bac7fbbb9d9b19161cf0119da0a6e8ec14.tar.bz2
samba-e6aa69bac7fbbb9d9b19161cf0119da0a6e8ec14.zip
Add more test cases that now work.
(This used to be commit 7827536c15ac27ebcc4e9c342be6e203248195f6)
-rwxr-xr-xsource3/python/examples/tdbpack/test_tdbpack.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/python/examples/tdbpack/test_tdbpack.py b/source3/python/examples/tdbpack/test_tdbpack.py
index 4cd4252021..a88c92f203 100755
--- a/source3/python/examples/tdbpack/test_tdbpack.py
+++ b/source3/python/examples/tdbpack/test_tdbpack.py
@@ -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'),