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