stas 2003/11/21 15:13:20
Modified: t/modules apache_status.t
Log:
CGI.pm or Apache::Request is needed for this test
Revision Changes Path
1.2 +3 -1 modperl-2.0/t/modules/apache_status.t
Index: apache_status.t
===================================================================
RCS file: /home/cvs/modperl-2.0/t/modules/apache_status.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -u -r1.1 -r1.2
--- apache_status.t 15 Nov 2003 19:36:00 -0000 1.1
+++ apache_status.t 21 Nov 2003 23:13:20 -0000 1.2
@@ -10,7 +10,9 @@
my @opts = qw(script myconfig rgysubs section_config env isa_tree
symdump inc inh_tree sig);
-plan tests => @opts + 1;
+plan tests => @opts + 1, have
+ { "CGI.pm or Apache::Request is needed" =>
+ !!(eval { require CGI } || eval { require Apache::Request })};
{
my $url = "$base_url";