From a85fadaefc6b51891b3fa7808bd7c9257060e5d1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 24 Jan 2019 00:23:34 +0100 Subject: [PATCH] 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 --- selftest/wscript | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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"