summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2019-05-24 09:58:12 +1200
committerNoel Power <npower@samba.org>2019-05-29 11:29:17 +0000
commit0ae585db26727a944c957cb543bf72175dc55599 (patch)
tree8f403c493f81970aaeaeeccaf849715c1ae938dd /selftest
parent32b282d55e8888aa7bbe02d95502669f1c714726 (diff)
downloadsamba-0ae585db26727a944c957cb543bf72175dc55599.tar.gz
samba-tool dns: use bytes for inet_ntop
From Python's point of view, array.AddrArray is a list of byte-valued integers. In Python 3 we can convert directly using the likes of bytes(array.AddrArray[i].MaxSa[8:24]) but in 4.10 we need to support both, so we use struct. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <npower@samba.org> Autobuild-User(master): Noel Power <npower@samba.org> Autobuild-Date(master): Wed May 29 11:29:17 UTC 2019 on sn-devel-184
Diffstat (limited to 'selftest')
-rw-r--r--selftest/knownfail.d/sambatool-dns1
1 files changed, 0 insertions, 1 deletions
diff --git a/selftest/knownfail.d/sambatool-dns b/selftest/knownfail.d/sambatool-dns
deleted file mode 100644
index 382d740aa7c..00000000000
--- a/selftest/knownfail.d/sambatool-dns
+++ /dev/null
@@ -1 +0,0 @@
-samba.tests.samba_tool.dnscmd.samba.tests.samba_tool.dnscmd.DnsCmdTestCase.test_serverinfo