summaryrefslogtreecommitdiff
path: root/source3/selftest
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2018-01-01 19:35:46 +0100
committerVolker Lendecke <vl@samba.org>2019-01-15 07:53:21 +0100
commite9e4aeafc0cf7030dbd885710d6e8a179110f9ce (patch)
tree93b93519135a7b0efd2af4700be3a65be67e220a /source3/selftest
parentff2dbe24b80b24bdb4897d0152e76ed3931048f2 (diff)
downloadsamba-e9e4aeafc0cf7030dbd885710d6e8a179110f9ce.tar.gz
libcli/dns: Add resolv.conf parsing
Right now this only looks at the nameserver setting. It is initally made for asynchronous AD DC lookup routines, where we don't need the "search", "domain" and other settings. When we convert general "net", "smbclient" and others to use this, we might either add "domain" handling to this code or look at something like c-ares which already does it. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/selftest')
-rwxr-xr-xsource3/selftest/tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index c0fde3ad3f0..46f078759e1 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -406,6 +406,10 @@ if with_pthreadpool:
"script/tests/test_libwbclient_threads.sh"),
"$DOMAIN", "$DC_USERNAME"])
+plantestsuite(
+ "samba3.resolvconf", "none",
+ [os.path.join(samba3srcdir, "script/tests/test_resolvconf.sh")])
+
plantestsuite("samba3.async_req", "nt4_dc",
[os.path.join(samba3srcdir, "script/tests/test_async_req.sh")])