Subject: | failing cygwin test |
On cygwin 1.7 I get
not ok 8 - Looking for test1 on Cygwin: transparent to test1.exe
# Failed test 'Looking for test1 on Cygwin: transparent to test1.exe'
# at t/03_simple.t line 67.
# got: undef
# expected: 't/test-bin/test1'
This is because t/test-bin/test1.exe has no -x
therefore it is not found. Either fix it in your tar
or fix it in the test as below
diff -u t/03_simple.t~ t/03_simple.t
--- t/03_simple.t~ 2009-09-14 20:02:16.000000000 +0200
+++ t/03_simple.t 2009-09-22 15:25:58.421875000 +0200
@@ -63,6 +63,7 @@
SKIP: {
skip("Not on a cygwin filesystem", 2) unless IS_CYGWIN;
+ chmod 0755, File::Spec->catfile( $test_bin, 'test1' );
# Cygwin: should make test1.exe transparent
is(
scalar(which('test1')),
--
Reini Urban