diff options
author | Andreas Schneider <asn@samba.org> | 2018-12-20 08:37:32 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2020-02-21 02:09:33 +0000 |
commit | 3d8680e6a879c0c785e491a3fa78ba8ce86c2380 (patch) | |
tree | 3ccda8838e2abb268699ae462b43308dd03f6f90 /selftest/tests.py | |
parent | aebe427b77b5315eb5d2b05b8c72824ca0389723 (diff) | |
download | samba-3d8680e6a879c0c785e491a3fa78ba8ce86c2380.tar.gz |
lib:util: Add bytearray.h
This is an implementation which doesn't have undefined behavior
problems. It casts correctly that calculations are don in the correct
integer space. Also the naming is less confusing than what we have in
byteorder.h.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'selftest/tests.py')
-rw-r--r-- | selftest/tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/selftest/tests.py b/selftest/tests.py index 96d3f8d6317..a15a5384897 100644 --- a/selftest/tests.py +++ b/selftest/tests.py @@ -389,6 +389,8 @@ plantestsuite("samba.unittests.ms_fnmatch", "none", [os.path.join(bindir(), "default/lib/util/test_ms_fnmatch")]) plantestsuite("samba.unittests.byteorder", "none", [os.path.join(bindir(), "default/lib/util/test_byteorder")]) +plantestsuite("samba.unittests.bytearray", "none", + [os.path.join(bindir(), "default/lib/util/test_bytearray")]) plantestsuite("samba.unittests.ntlm_check", "none", [os.path.join(bindir(), "default/libcli/auth/test_ntlm_check")]) plantestsuite("samba.unittests.gnutls", "none", |