X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fpod%2Ffor.t;h=44af44f17de16a835cc2c8988bf75ad576edee84;hb=8d8756e7e9233ee3d56235e7432a5a3acbe03daf;hp=4af528a5ab8a49777c5df3a500e56ac2b7b9c47a;hpb=dbd1b0a240e81742f12d4fa9574cf883a061b223;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/pod/for.t b/t/pod/for.t index 4af528a..44af44f 100755 --- a/t/pod/for.t +++ b/t/pod/for.t @@ -1,7 +1,7 @@ BEGIN { - chdir 't' if -d 't'; - unshift @INC, '../lib'; - unshift @INC, './pod'; + use File::Basename; + my $THISDIR = dirname $0; + unshift @INC, $THISDIR; require "testp2pt.pl"; import TestPodIncPlainText; }