X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCGI%2Ft%2Fapache.t;h=7f92155c3ffcae1d7ab0cbeccd3dab26ba71a835;hb=f5f48b4d8916a5316bf55ddba4047be421aaecfe;hp=2725bbef66c9a551ae2cc7e16b45c20aa5dfefe2;hpb=2447c5f5db24c34fcbf8aa471e6e15c794515241;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') };