X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fpod%2Fheadings.t;h=78608d0fd9fa3dc8f4c306e2bc0200cf0b4ed8a2;hb=09576c7db8c59458f52d7746e7f4062d64ff34e7;hp=fc7b4b265b2968232619319a9eb87aebbc7c1024;hpb=146174a91a192983720a158796dc066226ad0e55;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/pod/headings.t b/t/pod/headings.t index fc7b4b2..78608d0 100755 --- a/t/pod/headings.t +++ b/t/pod/headings.t @@ -1,7 +1,7 @@ -#!./perl BEGIN { - chdir 't' if -d 't'; - unshift @INC, './pod', '../lib'; + use File::Basename; + my $THISDIR = dirname $0; + unshift @INC, $THISDIR; require "testp2pt.pl"; import TestPodIncPlainText; }