X-Spam-Check-By: sourceware.org Message-ID: From: "Sisyphus" To: Subject: Test file "is not readable" when running 'make test' (Perl) Date: Thu, 5 Jul 2007 20:32:09 +1000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Windows Mail 6.0.6000.16480 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, I'm trying to build a very small (and simplistic) perl module that I've created (Foo-0.01): -------------------------------------------- Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01 $ perl Makefile.PL Writing Makefile for Foo Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01 $ make test cp Foo.pm blib/lib/Foo.pm /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/test....t/test.t is not readable FAILED--1 test script could be run, alas--no output ever seen make: *** [test_dynamic] Error 255 Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01 -------------------------------------------- Sure enough, when I look at the permissions associated with t/test.t I find: -------------------------------------------- Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01/t $ ls -l total 1 ----------+ 1 Rob None 46 Jul 5 13:37 test.t Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01/t -------------------------------------------- But the permissions associated with these files is *not* something with which I have had to concern myself on previous Cygwin installations. I'm wondering why it's suddenly an issue. And I find the following behaviour: -------------------------------------------- Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01 $ /usr/bin/perl.exe -Mblib t/test.t 1..1 ok 1 Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01 -------------------------------------------- All of a sudden, the permissions (or lack thereof) are no longer an issue !! So let's just check that command that failed before, by running a copy'n'paste of it: -------------------------------------------- Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01 $ /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/test....t/test.t is not readable FAILED--1 test script could be run, alas--no output ever seen Rob AT desktop2 /cygdrive/c/_32/comp/Foo-0.01 -------------------------------------------- Bah!!! ... it has become a problem again. For one perl command there's a problem, but for another perl command there's no problem. Is it something that ExtUtils::Command::MM is doing ? Any help appreciated. Cheers, Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/