diff options
-rw-r--r-- | cygwin/Makefile.SHs | 8 | ||||
-rwxr-xr-x | t/op/taint.t | 16 |
2 files changed, 8 insertions, 16 deletions
diff --git a/cygwin/Makefile.SHs b/cygwin/Makefile.SHs index dee49c006c..90f201d717 100644 --- a/cygwin/Makefile.SHs +++ b/cygwin/Makefile.SHs @@ -206,4 +206,12 @@ distdir: miniperl ./miniperl '-MExtUtils::Manifest' \ -e "ExtUtils::Manifest::manicopy(ExtUtils::Manifest::maniread(),'$(DIST_DIRECTORY)')" +cygwin1.dll: /bin/cygwin1.dll + cp /bin/cygwin1.dll . + +cygcrypt-0.dll: /bin/cygcrypt-0.dll + cp /bin/cygcrypt-0.dll . + +test_prep: cygwin1.dll cygcrypt-0.dll + !NO!SUBS! diff --git a/t/op/taint.t b/t/op/taint.t index 533733276a..ec7c498171 100755 --- a/t/op/taint.t +++ b/t/op/taint.t @@ -155,22 +155,6 @@ my $TEST = catfile(curdir(), 'TEST'); delete @ENV{@MoreEnv}; $ENV{TERM} = 'dumb'; - if ($Is_Cygwin && ! -f 'cygwin1.dll') { - system("/usr/bin/cp /usr/bin/cygwin1.dll .") && - die "$0: failed to cp cygwin1.dll: $!\n"; - eval q{ - END { unlink "cygwin1.dll" } - }; - } - - if ($Is_Cygwin && ! -f 'cygcrypt-0.dll' && -f '/usr/bin/cygcrypt-0.dll') { - system("/usr/bin/cp /usr/bin/cygcrypt-0.dll .") && - die "$0: failed to cp cygcrypt-0.dll: $!\n"; - eval q{ - END { unlink "cygcrypt-0.dll" } - }; - } - test eval { `$echo 1` } eq "1\n"; SKIP: { |