diff options
author | Andrew Bartlett <abartlet@samba.org> | 2015-07-30 14:29:54 +1200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2015-08-24 23:46:22 +0200 |
commit | 336d41155e94303d0e1fa0530874539339439fed (patch) | |
tree | 047316b8c45c3b6f6c0f01e5b09c92681bf1e3da /selftest | |
parent | 5206ccd002b015a16952d21bd2fa441ff2e39eab (diff) | |
download | samba-336d41155e94303d0e1fa0530874539339439fed.tar.gz |
python/tests: Add tests for integer overflow handling
This also documents an issue with our python bindings and lists, as changes to integers in a list
of integers are not preserved
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11429
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/knownfail | 5 | ||||
-rw-r--r-- | selftest/tests.py | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/selftest/knownfail b/selftest/knownfail index b7320ade8d1..447544ea07c 100644 --- a/selftest/knownfail +++ b/selftest/knownfail @@ -303,3 +303,8 @@ ^samba4.ldap.match_rules.python.__main__.MatchRulesTests.test_u2_groups ^samba4.ldap.match_rules.python.__main__.MatchRulesTests.test_u3_groups ^samba4.ldap.match_rules.python.__main__.MatchRulesTests.test_u4_groups +# +# This fails because our python bindings create python Lists, not a type +# we can watch for set methods on. +# +^samba.tests.dcerpc.integer.samba.tests.dcerpc.integer.IntegerTests.test_.*_into_uint8_list diff --git a/selftest/tests.py b/selftest/tests.py index ef2f6a4bc0b..872fbaf0094 100644 --- a/selftest/tests.py +++ b/selftest/tests.py @@ -51,6 +51,7 @@ planpythontestsuite("none", "samba.tests.auth") planpythontestsuite("none", "samba.tests.getopt") planpythontestsuite("none", "samba.tests.security") planpythontestsuite("none", "samba.tests.dcerpc.misc") +planpythontestsuite("none", "samba.tests.dcerpc.integer") planpythontestsuite("none", "samba.tests.param") planpythontestsuite("none", "samba.tests.upgrade") planpythontestsuite("none", "samba.tests.core") |