mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
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>
This commit is contained in:
parent
85ef0590a5
commit
ac30d7b6c4
@ -958,11 +958,7 @@ sub setup_env($$)
|
|||||||
# variables don't leak in. Provisioning steps must explicitly set their
|
# variables don't leak in. Provisioning steps must explicitly set their
|
||||||
# necessary variables when calling out to other executables
|
# necessary variables when calling out to other executables
|
||||||
foreach (@exported_envvars) {
|
foreach (@exported_envvars) {
|
||||||
unless ($_ == "NSS_WRAPPER_HOSTS" ||
|
delete $ENV{$_};
|
||||||
$_ == "RESOLV_WRAPPER_HOSTS")
|
|
||||||
{
|
|
||||||
delete $ENV{$_};
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
delete $ENV{SOCKET_WRAPPER_DEFAULT_IFACE};
|
delete $ENV{SOCKET_WRAPPER_DEFAULT_IFACE};
|
||||||
delete $ENV{SMB_CONF_PATH};
|
delete $ENV{SMB_CONF_PATH};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user