mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 03:12:48 +02:00
tests: env-S.pl: unset cygwin hardwired env vars
* tests/misc/env-S.pl: Unset SYSTEMROOT and WINDIR.
This commit is contained in:
@@ -33,8 +33,12 @@ $env = $1;
|
||||
# This envvar is somehow set at least on macOS 11.6, and would
|
||||
# otherwise cause failure of q*, t* and more tests below. Ignore it.
|
||||
my $cf = '__CF_USER_TEXT_ENCODING';
|
||||
exists $ENV{$cf}
|
||||
and $env .= " -u$cf";
|
||||
exists $ENV{$cf} and $env .= " -u$cf";
|
||||
# Likewise for these Cygwin env vars
|
||||
my $cf = 'SYSTEMROOT';
|
||||
exists $ENV{$cf} and $env .= " -u$cf";
|
||||
my $cf = 'WINDIR';
|
||||
exists $ENV{$cf} and $env .= " -u$cf";
|
||||
|
||||
my @Tests =
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user