Add core switch to CGI.pm distribution tests
[p5sagit/p5-mst-13.2.git] / lib / CGI / t / apache.t
1 #!/usr/local/bin/perl -w
2
3 BEGIN {
4         chdir 't' if -d 't';
5         if ($ENV{PERL_CORE}) {
6                 @INC = '../lib';
7         } else {
8                 # Due to a bug in older versions of MakeMaker & Test::Harness, we must
9                 # ensure the blib's are in @INC, else we might use the core CGI.pm
10                 unshift @INC, qw( ../blib/lib ../blib/arch lib );
11         }
12 }
13
14 use strict;
15 use Test::More tests => 1;
16
17 # Can't do much with this other than make sure it loads properly
18 BEGIN { use_ok('CGI::Apache') };