Subject: | Testing fails if test is run with taint checking switched on |
Date: | Thu, 11 Sep 2014 17:29:08 +0200 |
To: | bug-Test-Kwalitee [...] rt.cpan.org |
From: | Axel Beckert <abe [...] deuxchevaux.org> |
Hi,
please consider the following as a nice-to-have wishlist item and not
as a bug.
A test with Test::Kwalitee as documented in POD fails as follows if
run with taint checking switched on:
t/kwalitee.t ............... 1/? Insecure dependency in chdir while running with -T switch at /usr/share/perl/5.20/File/Find.pm line 684.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 2.
t/kwalitee.t ............... Dubious, test returned 255 (wstat 65280, 0xff00)
It works as expected again if I switch off taint checking again.
(Noticed it because all other tests in the distribution have a shebang
line with "#!perl -T" so I added it to t/kwalitee.t, too.)
The version of Test::Kwalitee is 1.22, the version of Perl is 5.20.0.
Kind regards, Axel
--
/~\ Plain Text Ribbon Campaign | Axel Beckert
\ / Say No to HTML in E-Mail and News | abe@deuxchevaux.org (Mail)
X See http://www.nonhtmlmail.org/campaign.html | abe@noone.org (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)