diff options
author | Andreas J. Koenig <koenig@anna.mind.de> | 1997-09-05 00:00:00 +0000 |
---|---|---|
committer | Tim Bunce <Tim.Bunce@ig.co.uk> | 1997-09-05 00:00:00 +0000 |
commit | 387deb6900d02a5b43888a2b575e6eb9b91f9aac (patch) | |
tree | 8aac19a906a15cde9ed881ea72fb957d0a51158b | |
parent | 68820cec9a0fb77bcbecf5e51947ef23cb6671eb (diff) | |
download | perl-387deb6900d02a5b43888a2b575e6eb9b91f9aac.tar.gz |
Identify t/*/*.t test failing because of file permissions
tim> I've added
tim> system("find t -name '*.t' -print | xargs chmod +x");
tim> to my Porting/makerel script. So the problem should not reappear.
That doesn't help for the patch. The perl5.004m4t1.patch.gz contained
touch t/lib/dosglob.t
but no
chmod +x t/lib/dosglob.t
Short term I'd recommend Ilya's one-line patch to t/TEST because it at
least saves us debugging time. Stupid me lost over an hour not
understanding the reason for the failure. Here it is:
p5p-msgid: sfcraah0xvy.fsf@anna.in-berlin.de
-rwxr-xr-x | t/TEST | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -51,6 +51,7 @@ while ($test = shift) { chop($te); print "$te" . '.' x (18 - length($te)); if ($sharpbang) { + -x $test || (print "isn't executable.\n"); open(RESULTS,"./$test |") || (print "can't run.\n"); } else { open(SCRIPT,"$test") || die "Can't run $test.\n"; |