]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: we no longer need '--use-dns-faking' on Linux and FreeBSD
authorStefan Metzmacher <metze@samba.org>
Wed, 23 Jan 2019 23:23:34 +0000 (00:23 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 27 Mar 2020 10:39:32 +0000 (10:39 +0000)
For now I'll leave it arround for others I haven't tested.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Mar 27 10:39:32 UTC 2020 on sn-devel-184

selftest/wscript

index 501a5df58240e69bed5516ade3d36c6aea31899e..57057be176e13947154a1063bdf67400dab23244 100644 (file)
@@ -255,11 +255,8 @@ def cmd_testonly(opt):
     if os.environ.get('USE_NAMESPACES') is None:
         env.OPTIONS += " --socket_wrapper_so_path=" + CONFIG_GET(opt, 'LIBSOCKET_WRAPPER_SO_PATH')
 
-    #if unversioned_sys_platform in ('freebsd', 'netbsd', 'openbsd', 'sunos'):
-    #    env.OPTIONS += " --use-dns-faking"
-
-    # FIXME REMOVE ME!
-    env.OPTIONS += " --use-dns-faking"
+    if Utils.unversioned_sys_platform() in ('netbsd', 'openbsd', 'sunos'):
+        env.OPTIONS += " --use-dns-faking"
 
     if CONFIG_GET(opt, 'USING_SYSTEM_KRB5') and CONFIG_GET(opt, 'MIT_KDC_PATH'):
         env.OPTIONS += " --mitkrb5 --exclude=${srcdir}/selftest/skip_mit_kdc"