Skip Menu |
 

This queue is for tickets about the autodie CPAN distribution.

Report information
The Basics
Id: 86296
Status: resolved
Priority: 0/
Queue: autodie

People
Owner: Nobody in particular
Requestors: dagolden [...] cpan.org
Cc:
AdminCc:

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



Subject: truncate.t should set truncate_me writable
Download (untitled) / with headers
text/plain 357b
The perl core tarball usually makes all files read-only. That causes truncate.t to fail because truncate_me can't be written to. For v5.19.1, I've put in a special case to leave it writable, but it might be better if truncate.t could chmod 0644 the file before any tests, or else create a file in a temporary directory rather than relying on a file in t/.
Download (untitled) / with headers
text/plain 596b
On Thu Jun 20 19:00:32 2013, DAGOLDEN wrote: Show quoted text
> The perl core tarball usually makes all files read-only. That causes > truncate.t to fail because truncate_me can't be written to. > > For v5.19.1, I've put in a special case to leave it writable, but it > might be better if truncate.t could chmod 0644 the file before any > tests, or else create a file in a temporary directory rather than > relying on a file in t/.
This appears to be fixed in commit 015efd9[1], which was released as a part of 2.24. ~Niels [1] https://github.com/pjf/autodie/commit/015efd9e49470c09db5efed3e664795673663252


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.