Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 67861
Status: resolved
Priority: 0/
Queue: CGI

People
Owner: MARKSTOS [...] cpan.org
Requestors: tlhackque [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: 3.53 test failures under perl 5.8.8
Download (untitled) / with headers
text/plain 1.1k
t/tmpdir.t fails installing CGI.pm 3.53: Not enough arguments for mkdir at t/tmpdir.t line 11, near "mkdir;" BEGIN not safe after errors--compilation aborted at t/tmpdir.t line 16. # Looks like your test exited with 255 before it could output anything. t/tmpdir.t ............... Dubious, test returned 255 (wstat 65280, 0xff00) Problem is that test assumes mkdir will default FILENAME to $_, but this isn't true in 5.8.5. It is in 5.12.3 (don't know exactly when this feature was introduced.) mkdir appears to only be used in this test, so it blocks installation but doesn't appear to be a functional issue. [CGI.pm-3.53-RhuHi1]$ find . -exec grep -H mkdir {} \; ./cgi_docs.html: > mkdir C:\Perl\lib\CGI ./t/tmpdir.t: ( -d ) || mkdir $_; Patch: --- tmpdir.t.bak 2011-01-23 22:20:29.000000000 -0500 +++ t/tmpdir.t 2011-04-30 09:01:25.000000000 -0400 @@ -6,11 +6,11 @@ BEGIN { $testdir = "CGItest"; $testdir2 = "CGItest2"; for ($testdir, $testdir2) { - ( -d ) || mkdir; + ( -d ) || mkdir $_; ( ! -w ) || chmod 0700, $_; } $CGITempFile::TMPDIRECTORY = $testdir; $ENV{TMPDIR} = $testdir2; }
Resolved with 3.54 release.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.