diff options
author | Jerry D. Hedden <jdhedden@cpan.org> | 2007-09-25 07:55:53 -0400 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-09-26 14:55:15 +0000 |
commit | 1a36314cbeab52a90bc0d56b6f2c61f22e03df5d (patch) | |
tree | afcc14ab4a4763a665b3d6bf47a86fd61f59f2d9 /t | |
parent | ce0286c600a1524c4ecd24a4e357d0efc77a0a21 (diff) | |
download | perl-1a36314cbeab52a90bc0d56b6f2c61f22e03df5d.tar.gz |
Check rename() under Cygwin
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510709250855o2c9115cdi6ce830a9ccaec696@mail.gmail.com>
p4raw-id: //depot/perl@31980
Diffstat (limited to 't')
-rwxr-xr-x | t/io/fs.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -413,7 +413,7 @@ SKIP: { # check if rename() can be used to just change case of filename SKIP: { skip "Works in Cygwin only if check_case is set to relaxed", 1 - if $^O eq 'cygwin'; + if ($ENV{'CYGWIN'} && ($ENV{'CYGWIN'} =~ /check_case:(?:adjust|strict)/)); chdir './tmp'; open(FH,'>x') || die "Can't create x"; |