diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-07 18:23:16 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-07 18:23:16 +0000 |
commit | 4fabb5965cb13ba2085b455bf751c89110c43659 (patch) | |
tree | c4832b84f0959a8c3e08363d90592f465f6dc0a5 /t | |
parent | 65346fe1a9b07a3de1b94fead7e905d3a8dad1d5 (diff) | |
download | perl-4fabb5965cb13ba2085b455bf751c89110c43659.tar.gz |
cygwin update (from Eric Fifer <EFifer@sanwaint.com>)
p4raw-id: //depot/perl@4769
Diffstat (limited to 't')
-rwxr-xr-x | t/op/magic.t | 2 | ||||
-rwxr-xr-x | t/op/stat.t | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/t/op/magic.t b/t/op/magic.t index fe55521814..0d5190a2bb 100755 --- a/t/op/magic.t +++ b/t/op/magic.t @@ -23,7 +23,7 @@ $Is_MSWin32 = $^O eq 'MSWin32'; $Is_VMS = $^O eq 'VMS'; $Is_Dos = $^O eq 'dos'; $Is_os2 = $^O eq 'os2'; -$Is_Cygwin = $^O =~ /cygwin/; +$Is_Cygwin = $^O eq 'cygwin'; $PERL = ($Is_MSWin32 ? '.\perl' : './perl'); print "1..35\n"; diff --git a/t/op/stat.t b/t/op/stat.t index b44617d2b6..37237f0bdf 100755 --- a/t/op/stat.t +++ b/t/op/stat.t @@ -14,7 +14,7 @@ print "1..58\n"; $Is_MSWin32 = $^O eq 'MSWin32'; $Is_Dos = $^O eq 'dos'; $Is_Dosish = $Is_Dos || $^O eq 'os2' || $Is_MSWin32; -$Is_Cygwin = $^O =~ /cygwin/; +$Is_Cygwin = $^O eq 'cygwin'; chop($cwd = ($Is_MSWin32 ? `cd` : `pwd`)); $DEV = `ls -l /dev` unless $Is_Dosish or $Is_Cygwin; |