Skip Menu |

This queue is for tickets about the File-ExtAttr CPAN distribution.

Report information
The Basics
Id: 26542
Status: resolved
Priority: 0/
Queue: File-ExtAttr

People
Owner: richdawe [...] cpan.org
Requestors: cweyl [...] alumni.drew.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.03
  • 0.04
  • 0.05
  • 1.01
  • 1.02
Fixed in: (no value)



Subject: Tests fail with taint-mode and ATTR_TEST_DIR set
Date: Sun, 22 Apr 2007 12:11:50 -0700
To: bug-File-ExtAttr [...] rt.cpan.org
From: "Chris Weyl" <cweyl [...] alumni.drew.edu>
Explicitly setting ATTR_TEST_DIR to control where the test suite created its files/etc, and found that the tests are all running with taint mode enabled.... However, $ENV{ATTR_TEST_DIR} is not un-tainted before being used. " Failed 16/16 tests, 0.00% okay t/39nsempty..........Insecure dependency in sysopen while running with -T switch at /usr/lib/perl5/5.8.8/File/Temp.pm line 486. # Looks like your test died before it could output anything. " Easiest fix would probably be disabling taint mode for the tests.
Fixed in 1.03.