Update t/harness to reflect behaviour changes in TAP::Harness 3.16
authorNicholas Clark <nick@ccl4.org>
Sun, 8 Mar 2009 14:52:56 +0000 (14:52 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 15 Apr 2009 20:33:26 +0000 (21:33 +0100)
commit9742fdaa9c0dca571e1067c345f9f606070046d4
tree1ac4b06593a3e89bf338d433973bf8f9e8a757a3
parent480bd553ad2dee3e21c48afcc09e6b55750e6948
Update t/harness to reflect behaviour changes in TAP::Harness 3.16
Explicitly add -I../lib to the switches, rather than rely on TAP::Harness or
Test::Harness picking -I../lib up from $ENV{PERL5LIB}. (Test::Harness hasn't
changed, but TAP::Harness has). Test::Harness does, however, spot that we've
altered our own @INC, and passes this on to tests. So there is no need to set
$ENV{PERL5LIB} to effect changes to @INC in tests. So don't set $ENV{PERL5LIB}
to -I../lib. Instead set it to '', to avoid contamination from our environment.

(cherry picked from commit e8fb11d7f7d16f6c0b6f3a98e09e713284cbe555)
t/harness