summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2019-12-02 15:54:08 +1300
committerAndrew Bartlett <abartlet@samba.org>2019-12-04 05:10:31 +0000
commitbf8063e369a227eecc902f90277fc59d9d0ad167 (patch)
treefeddbf8b1a0f80f17acd48560d16fc9b352a514d /source4/selftest
parent7127a615cbd742695cea5865533c1ee7098ecc10 (diff)
downloadsamba-bf8063e369a227eecc902f90277fc59d9d0ad167.tar.gz
librpc ndr: Tests for ndr_pull_string
Tests to ensure that ndr_pull_string handles zero and one byte length data correctly for both character strings and UTF-16 strings. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13874 Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index 642dc680fa4..e9d83a0acf6 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -1317,6 +1317,8 @@ plantestsuite("samba4.dcerpc.dnsserver.dnsutils", "none",
[os.path.join(bindir(), "test_rpc_dns_server_dnsutils")])
plantestsuite("libcli.drsuapi.repl_decrypt", "none",
[os.path.join(bindir(), "test_repl_decrypt")])
+plantestsuite("librpc.ndr.ndr_string", "none",
+ [os.path.join(bindir(), "test_ndr_string")])
# process restart and limit tests, these break the environment so need to run
# in their own specific environment