summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorReini Urban <rurban@x-ray.at>2007-08-17 10:56:38 +0200
committerAbhijit Menon-Sen <ams@wiw.org>2007-08-18 08:01:15 +0000
commiteee7770f948125835e9e241cf25412e5a30f14ff (patch)
treee1eee74a5be59a4c97ca3ffc9649a7c8078f74ab /t
parentc4c533cb9d15f6d3f7ef40694999c8d69239b304 (diff)
downloadperl-eee7770f948125835e9e241cf25412e5a30f14ff.tar.gz
Change 31710 causes t/op/taint.t to fail
Message-Id: <46C546A6.6020000@x-ray.at> p4raw-id: //depot/perl@31731
Diffstat (limited to 't')
-rwxr-xr-xt/op/taint.t11
1 files changed, 10 insertions, 1 deletions
diff --git a/t/op/taint.t b/t/op/taint.t
index 96c420c26b..aefe0477d5 100755
--- a/t/op/taint.t
+++ b/t/op/taint.t
@@ -150,7 +150,16 @@ 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} = '';
delete @ENV{@MoreEnv};
$ENV{TERM} = 'dumb';