Subject: | -T in tests interferes with local::lib |
The pod test in HTML::TagSet has a shebang line including the -T flag to
perl.
This causes Test::Pod to be entirely missed if it's installed in a
local::lib, as -T clears the environment.
Tests shouldn't require or use taint mode, as this can cause surprising
failures (as Makefile.PL will find the dependency installed, but the
test won't see it).
Please find attached a trivial patch to correct this issue.
Subject: | 0001-Remove-taint-mode.patch |
From 771d1ab359f3159cef5141c4350b71bd8e41c3e4 Mon Sep 17 00:00:00 2001
From: Tomas Doran <bobtfish@bobtfish.net>
Date: Sat, 15 May 2010 00:44:35 +0200
Subject: [PATCH] Remove taint mode
---
t/pod.t | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/pod.t b/t/pod.t
index f3cc58b..8afbe0d 100644
--- a/t/pod.t
+++ b/t/pod.t
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
use Test::More;
eval "use Test::Pod 1.14";
--
1.6.5.3.171.ge36e