diff options
author | Steve Peters <steve@fisharerojo.org> | 2005-11-03 15:07:26 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2005-11-03 15:07:26 +0000 |
commit | b0fdffbddaf257157ac815b3869f2328fc8ab9a0 (patch) | |
tree | 40cd44fcc5e006b10017ebef0492230edd4bdb28 /t/io/fs.t | |
parent | 3fb41248088529e4dffd3e393588e067e2934fc0 (diff) | |
download | perl-b0fdffbddaf257157ac815b3869f2328fc8ab9a0.tar.gz |
Add appropriate skips to t/io/fs.t to fix test failures on Cygwin.
p4raw-id: //depot/perl@25974
Diffstat (limited to 't/io/fs.t')
-rwxr-xr-x | t/io/fs.t | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -173,10 +173,16 @@ SKIP: { ok(open(my $fh, "<", "a"), "open a"); is(chmod(0, $fh), 1, "fchmod"); $mode = (stat "a")[2]; - is($mode & 0777, 0, "perm reset"); + SKIP: { + skip "no mode checks", 1 if $skip_mode_checks; + is($mode & 0777, 0, "perm reset"); + } is(chmod($newmode, "a"), 1, "fchmod"); $mode = (stat $fh)[2]; - is($mode & 0777, $newmode, "perm restored"); + SKIP: { + skip "no mode checks", 1 if $skip_mode_checks; + is($mode & 0777, $newmode, "perm restored"); + } } SKIP: { |