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