summaryrefslogtreecommitdiff
path: root/selftest/selftest.pl
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2018-08-31 20:26:19 +1200
committerAndrew Bartlett <abartlet@samba.org>2018-09-03 03:22:20 +0200
commitac30d7b6c43bd194f029a6d8f34b4bb1bece9953 (patch)
tree9025188f7fe91ad64e51858d54071752325a9e28 /selftest/selftest.pl
parent85ef0590a544e97f2c800589d05646002c48b95a (diff)
downloadsamba-ac30d7b6c43bd194f029a6d8f34b4bb1bece9953.tar.gz
selftest: Remove excption for NSS_WRAPPER_HOSTS and RESOLV_WRAPPER_HOSTS
These must be set correctly for each command in provision also. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'selftest/selftest.pl')
-rwxr-xr-xselftest/selftest.pl6
1 files changed, 1 insertions, 5 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index bd72841199f..7eb5f74b3ef 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -958,11 +958,7 @@ sub setup_env($$)
# variables don't leak in. Provisioning steps must explicitly set their
# necessary variables when calling out to other executables
foreach (@exported_envvars) {
- unless ($_ == "NSS_WRAPPER_HOSTS" ||
- $_ == "RESOLV_WRAPPER_HOSTS")
- {
- delete $ENV{$_};
- }
+ delete $ENV{$_};
}
delete $ENV{SOCKET_WRAPPER_DEFAULT_IFACE};
delete $ENV{SMB_CONF_PATH};