X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCGI%2Ft%2Fapache.t;h=7f92155c3ffcae1d7ab0cbeccd3dab26ba71a835;hb=ac734d8bd697d0795c7d9ab8a3fa6068e4da1b0c;hp=2725bbef66c9a551ae2cc7e16b45c20aa5dfefe2;hpb=31f2a3990f7718ffeb53233b84d710d047b543f5;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/CGI/t/apache.t b/lib/CGI/t/apache.t index 2725bbe..7f92155 100644 --- a/lib/CGI/t/apache.t +++ b/lib/CGI/t/apache.t @@ -1,7 +1,13 @@ #!/usr/local/bin/perl -w +use lib qw(t/lib); + +# Due to a bug in older versions of MakeMaker & Test::Harness, we must +# ensure the blib's are in @INC, else we might use the core CGI.pm +use lib qw(blib/lib blib/arch); + use strict; use Test::More tests => 1; # Can't do much with this other than make sure it loads properly -BEGIN { use_ok('CGI::Apache') }; \ No newline at end of file +BEGIN { use_ok('CGI::Apache') };