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