X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fpod%2Flref.t;h=1dd8c68b15cc2397ffd45e2ac0086a753358a75e;hb=d8f6a7325d6b2ec46e8cdc1ec4b5e1ad4a86abd0;hp=02e2c9e3071af7db62731c89c5b2b3cf99fc9d37;hpb=92e3d63aacb66085fea74c3f951f09e136337b97;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/pod/lref.t b/t/pod/lref.t index 02e2c9e..1dd8c68 100755 --- a/t/pod/lref.t +++ b/t/pod/lref.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; }