summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas J. Koenig <koenig@anna.mind.de>1997-09-05 00:00:00 +0000
committerTim Bunce <Tim.Bunce@ig.co.uk>1997-09-05 00:00:00 +0000
commit387deb6900d02a5b43888a2b575e6eb9b91f9aac (patch)
tree8aac19a906a15cde9ed881ea72fb957d0a51158b
parent68820cec9a0fb77bcbecf5e51947ef23cb6671eb (diff)
downloadperl-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-xt/TEST1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/TEST b/t/TEST
index ae436667db..cae81031c2 100755
--- a/t/TEST
+++ b/t/TEST
@@ -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";