X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fpod%2Femptycmd.t;h=59e395ea04df6f64403622b7c6320732e4b820ef;hb=8d8756e7e9233ee3d56235e7432a5a3acbe03daf;hp=d348a9d278a5e7d65ab7cdb45a5270c57f9e7c02;hpb=27f805f47766187affd2ea71d406ac389f4fe181;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/pod/emptycmd.t b/t/pod/emptycmd.t index d348a9d..59e395e 100755 --- a/t/pod/emptycmd.t +++ b/t/pod/emptycmd.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; }