----- Original Message ----- 
From: "Frank Wiles" <[EMAIL PROTECTED]>
To: "Jonathan Mangin" <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
>    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

Reply via email to