1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-09 09:57:48 +03:00

19 Commits

Author SHA1 Message Date
Martin Pool
022a853781 * Ignore .pyc and .pyo files produced as a side-effect of running
Python examples.
(This used to be commit 3bb4bd3ed642a61e54c44c40c31f0e2242977614)
2002-12-12 04:44:47 +00:00
Tim Potter
d797c7986e Fix typo in docstring.
(This used to be commit 9f9347bc03448f8b93d536f9cd2df8fb496a4c22)
2002-11-19 01:02:43 +00:00
Martin Pool
cf671ca0df Remove non-integer Pointer values, which are no longer supported.
(This used to be commit 4a18526257ec4582679efa7a21d0b31ad07992fb)
2002-11-12 21:40:37 +00:00
Martin Pool
618db4e739 Add another test case for repeated-unpack ('$')
(This used to be commit 2a492c4854d4c6469d8c7d21aa187fef6303b641)
2002-11-06 01:50:31 +00:00
Martin Pool
97d34f85c7 Update test cases.
(This used to be commit db2c393dd488dad2ce95f3b3cf0297d5b0159ae7)
2002-11-05 02:52:01 +00:00
Martin Pool
e6aa69bac7 Add more test cases that now work.
(This used to be commit 7827536c15ac27ebcc4e9c342be6e203248195f6)
2002-11-04 23:10:47 +00:00
Martin Pool
2137acf498 Re-add some tests which do work with both implementations
(This used to be commit a9c2817c79f675b82ace4e21df7fa123f9a995c3)
2002-11-04 22:50:24 +00:00
Martin Pool
a5a1e068bd Comment out test cases where the old and new parser are different.
(This used to be commit 6be885da2ca0ee41db86c46625301b51858061af)
2002-11-04 22:48:06 +00:00
Martin Pool
70cdcfb5b3 test_pack_extra: Add additional cases.
test_pack_failures: Remove cases for which old code is too lax.
(This used to be commit 631945a03a3bf4982177bc22ebccf096b2bb5b6c)
2002-11-04 22:01:25 +00:00
Martin Pool
5c2b4a8a5a test_pack_extra: Better way of testing packing with extra values.
(This used to be commit 12c3bb99a5f870b01ef389ddad1073fc92d2362c)
2002-11-04 21:57:53 +00:00
Martin Pool
b700eafad9 test_pack_extra: The old code does not complain when there are too
many data values for the format.  Test that the new code behaves the
same way.
(This used to be commit b0143e77d64f6af977395cf39e50f35e46486157)
2002-11-04 20:34:25 +00:00
Martin Pool
f10a55e3be test_pack_failures: The old code does not complain when there are too
many data values for the format, so we don't test that here.

test_large: New test case for packing/unpack a thousand values.
(This used to be commit 04cad599f40faf234b40090806bcd1ac0473470f)
2002-11-04 20:30:09 +00:00
Martin Pool
dc847082f3 test_pack_failures: The old and new code is not exactly the same about
error detection, so now we don't care what exact error is returned as
long as we get something.
(This used to be commit 5ade138bb815d3184fa57ff9cb548f78405059c5)
2002-11-04 20:04:16 +00:00
Martin Pool
06b055cea3 test_pack: Coercing a dictionary to a sequence as it is packed is not
compatible with the old code, and so it is removed from the test case.
(This used to be commit ed0e4a670d4d62b63afdaf7d9f13e39b98cdf1b2)
2002-11-04 19:54:06 +00:00
Martin Pool
23e6084358 Test both new samba.tdbpack and oldtdbutil pack/unpack routines.
This makes the test suite fail because at the moment they are in fact
not behaving the same way.
(This used to be commit 44dd7746ede7f7f9efcf7dabcd351b1d800e535c)
2002-10-21 11:44:26 +00:00
Martin Pool
d70d4ef34b Import old pure Python version of tdbpack/unpack, so that we can do
compatibility testing against the shiny new C version.

This version is slightly modified to not call codepage conversion
routines, and renamed tdbutil->oldtdbutil.
(This used to be commit 2dc4373727f73a46cd6135413e50917fb7fa538b)
2002-10-21 11:13:53 +00:00
Martin Pool
31737ace97 Check in examples for tdb packer
(This used to be commit e8f9fbd32b73f60db3683d23a979dc09e7204258)
2002-09-10 08:36:55 +00:00
Tim Potter
d4b6d5db91 Updated examples for new top level module layout.
Fixed some bugs also.
(This used to be commit 3e19e3afdb6fd1f63dee9ca52a5d33090670832e)
2002-09-10 06:41:27 +00:00
Tim Potter
aa69c1ee80 Some examples using the spoolss python module.
(This used to be commit 68b952561429e1d08a974e633bb9c2870c819c69)
2002-05-02 05:23:38 +00:00