X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fpod%2Foneline_cmds.t;h=28bd1d09e5f40b643d7a1bad3d9a7044d586e870;hb=22d4bb9ccb8701e68f9243547d7e3a3c55f70908;hp=3081ef4dc3782a6906eaf5593d672506866c5584;hpb=4b19af017623bfa3bb72bb164598a517f586e0d3;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/pod/oneline_cmds.t b/t/pod/oneline_cmds.t index 3081ef4..28bd1d0 100755 --- a/t/pod/oneline_cmds.t +++ b/t/pod/oneline_cmds.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; }