----- Original Message -----
From: "Frank Wiles" <suppressed>
To: "Jonathan Mangin" <suppressed>
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" <suppressed> 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 <suppressed>
> 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
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.