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.