From e6aa69bac7fbbb9d9b19161cf0119da0a6e8ec14 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Mon, 4 Nov 2002 23:10:47 +0000 Subject: Add more test cases that now work. (This used to be commit 7827536c15ac27ebcc4e9c342be6e203248195f6) --- source3/python/examples/tdbpack/test_tdbpack.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/python/examples/tdbpack') 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'), -- cgit