From: Stefan Metzmacher Date: Wed, 23 Jan 2019 23:23:34 +0000 (+0100) Subject: selftest: we no longer need '--use-dns-faking' on Linux and FreeBSD X-Git-Tag: ldb-2.2.0~1173 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a85fadaefc6b51891b3fa7808bd7c9257060e5d1;p=thirdparty%2Fsamba.git selftest: we no longer need '--use-dns-faking' on Linux and FreeBSD For now I'll leave it arround for others I haven't tested. Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Fri Mar 27 10:39:32 UTC 2020 on sn-devel-184 --- diff --git a/selftest/wscript b/selftest/wscript index 501a5df5824..57057be176e 100644 --- a/selftest/wscript +++ b/selftest/wscript @@ -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"