diff options
Diffstat (limited to 't/op/taint.t')
-rwxr-xr-x | t/op/taint.t | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/t/op/taint.t b/t/op/taint.t index aefe0477d5..b49dfdadce 100755 --- a/t/op/taint.t +++ b/t/op/taint.t @@ -150,17 +150,7 @@ my $TEST = catfile(curdir(), 'TEST'); }; } } - if ($Is_Cygwin and (! -f 'cygwin1.dll' or ! -f 'cygcrypt-0.dll')) { - require File::Copy; - -f 'cygwin1.dll' or File::Copy::copy("/usr/bin/cygwin1.dll", '.') or - die "$0: failed to copy cygwin1.dll: $!\n"; - -f 'cygcyrypt-0.dll' or File::Copy::copy("/usr/bin/cygcrypt-0.dll", '.') or - die "$0: failed to copy cygcrypt-0.dll: $!\n"; - eval q{ - END { unlink "cygwin1.dll"; unlink "cygcrypt-0.dll"; } - }; - } - $ENV{PATH} = ''; + $ENV{PATH} = ($Is_Cygwin) ? '/usr/bin' : ''; delete @ENV{@MoreEnv}; $ENV{TERM} = 'dumb'; |