perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Mangin" <jon.man...@comcast.net>
Subject Re: Failing cgi tests (& what is ok?)
Date Wed, 14 Mar 2007 19:34:11 GMT

----- Original Message ----- 
From: "Frank Wiles" <frank@wiles.org>
To: "Jonathan Mangin" <jon.mangin@comcast.net>
Sent: Wednesday, March 14, 2007 1:07 PM
Subject: Re: Failing cgi tests (& what is ok?)


> On Wed, 14 Mar 2007 13:54:36 -0500
> "Jonathan Mangin" <jon.mangin@comcast.net> wrote:
> 
> > cgi.t is failing on all lines beginning with ok:
> > 
> >         ok t_cmp($body,
> >                  $len,
> >                  "GET long query");
> >     }
> > 
> > What is ok and where can I read about it?
> > 
> > Thanks again,
> > Jon
> 
>    It's part of the various Perl testing modules, in this case
>    Apache::Test I believe. 
> 
>  ---------------------------------
>    Frank Wiles <frank@wiles.org>
>    http://www.wiles.org
>  ---------------------------------
> 
Thanks, Frank...(see Test.pm :)

cgi.t defines these:

my $location = '/cgi-bin';
my $script = $location . '/test_cgi.pl';

Since there's no test_cgi.pl in /cgi-bin, or anywhere else,
then this:

        my $body = GET_BODY "$script?$query";
        ok t_cmp($body,
                 $len,
                 "GET long query");

probably won't work.  I think I'll install it.

--Jon


Mime
View raw message