X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fpod%2Finclude.t;h=4e73b783563c79935285d8cb34bed00979a8926e;hb=eb5c31c4aa83603839c4ee6108db659cf0327d30;hp=6d0b7e34e550e15878a17bdf52dd758259835d30;hpb=146174a91a192983720a158796dc066226ad0e55;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/pod/include.t b/t/pod/include.t index 6d0b7e3..4e73b78 100755 --- a/t/pod/include.t +++ b/t/pod/include.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; }