Subject: | skip on windows "Can't make temp files read-only to test error handling" |
A windows user with administrative rights has no reliable -w test.
So skip the -w check in "Can't make temp files read-only to test error
handling".
--
Reini Urban
Subject: | IO-CaptureOutput-1.1101.patch |
diffbk IO-CaptureOutput-1.1101
diff -u IO-CaptureOutput-1.1101/t/capture_file.t~ IO-CaptureOutput-1.1101/t/capture_file.t
--- IO-CaptureOutput-1.1101/t/capture_file.t~ 2009-03-04 05:47:29.000000000 +0100
+++ IO-CaptureOutput-1.1101/t/capture_file.t 2009-04-14 09:15:05.562500000 +0200
@@ -86,7 +86,7 @@
SKIP: {
skip "Can't make temp files read-only to test error handling", 2
- if ( -w $saved_out || -w $saved_err );
+ if ( -w $saved_out || -w $saved_err || $^O =~ /cygwin|MSWin32/);
eval { capture sub {print __FILE__; print STDERR __PACKAGE__},
\$out, \$err, $saved_out