From 2137acf49871a533be878171222e0b5134c72850 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Mon, 4 Nov 2002 22:50:24 +0000 Subject: Re-add some tests which do work with both implementations (This used to be commit a9c2817c79f675b82ace4e21df7fa123f9a995c3) --- source3/python/examples/tdbpack/test_tdbpack.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source3/python/examples') diff --git a/source3/python/examples/tdbpack/test_tdbpack.py b/source3/python/examples/tdbpack/test_tdbpack.py index a141a505ab..4cd4252021 100755 --- a/source3/python/examples/tdbpack/test_tdbpack.py +++ b/source3/python/examples/tdbpack/test_tdbpack.py @@ -31,12 +31,12 @@ class PackTests(unittest.TestCase): ('w', [0], '\0\0'), ('w', [255], '\xff\0'), ('w', [256], '\0\x01'), -# ('w', [0xdead], '\xad\xde'), -# ('w', [0xffff], '\xff\xff'), -# ('p', [0], '\0\0\0\0'), -# ('p', [1], '\x01\0\0\0'), -# ('d', [0x01020304], '\x04\x03\x02\x01'), -# ('d', [0x7fffffff], '\xff\xff\xff\x7f'), + ('w', [0xdead], '\xad\xde'), + ('w', [0xffff], '\xff\xff'), + ('p', [0], '\0\0\0\0'), + ('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', [-1], '\xff\xff\xff\xff'), # ('d', [-255], '\x01\xff\xff\xff'), -- cgit