You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by "Christopher H. Laco" <ap...@chrislaco.com> on 2004/12/01 03:32:56 UTC
Re: FW: Re: Apache::TestRequest + Cookies
Ok, here's my first crack at a quick n dirty cookies test.
The new test is t/cookies.t, and it's supporting server file is
t/htdocs/cgi-bin/cookies.pl. I figured the extra cgi-bin directory was
good for sanity sake.
I've also included the necessary patches to MANIFEST and extra.conf.in
against A-T 1.16.
-=Chris
Re: FW: Re: Apache::TestRequest + Cookies
Posted by "Christopher H. Laco" <ap...@chrislaco.com>.
Stas Bekman wrote:
> Christopher H. Laco wrote:
>
>>> Thanks, Chris, committed with a few small adjustements. You can see
>>> the commits here:
>>> http://svn.apache.org/viewcvs?view=rev&rev=109277
>>> http://svn.apache.org/viewcvs?view=rev&rev=109279
>
>
>> Thanks. Glad to contribute. It looks like the only change was naming
>> the cookies.pl to cookies.pl.PL.
>
>
> That was needed to get the path to #!perl right
>
>> What cnvention did I miss so I don't make that mistake again?
>
>
> The only missing thing was to check that CGI and CGI::Cookie were
> available in plan().
Duh. Silly me.
I moved htdocs/cgi-bin/ => cgi-bin/ and did a few
> minor syntax changes. You can see what was applied at the URLs quoted at
> the top of this email.
>
> Now looking forward for docs updates.
>
> Thanks again.
>
Re: FW: Re: Apache::TestRequest + Cookies
Posted by Stas Bekman <st...@stason.org>.
Christopher H. Laco wrote:
>> Thanks, Chris, committed with a few small adjustements. You can see
>> the commits here:
>> http://svn.apache.org/viewcvs?view=rev&rev=109277
>> http://svn.apache.org/viewcvs?view=rev&rev=109279
> Thanks. Glad to contribute. It looks like the only change was naming the
> cookies.pl to cookies.pl.PL.
That was needed to get the path to #!perl right
> What cnvention did I miss so I don't make
> that mistake again?
The only missing thing was to check that CGI and CGI::Cookie were
available in plan(). I moved htdocs/cgi-bin/ => cgi-bin/ and did a few
minor syntax changes. You can see what was applied at the URLs quoted at
the top of this email.
Now looking forward for docs updates.
Thanks again.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: FW: Re: Apache::TestRequest + Cookies
Posted by "Christopher H. Laco" <ap...@chrislaco.com>.
Stas Bekman wrote:
> Christopher H. Laco wrote:
>
>> Ok, here's my first crack at a quick n dirty cookies test.
>>
>> The new test is t/cookies.t, and it's supporting server file is
>> t/htdocs/cgi-bin/cookies.pl. I figured the extra cgi-bin directory was
>> good for sanity sake.
>>
>> I've also included the necessary patches to MANIFEST and extra.conf.in
>> against A-T 1.16.
>
>
> Thanks, Chris, committed with a few small adjustements. You can see the
> commits here:
> http://svn.apache.org/viewcvs?view=rev&rev=109277
> http://svn.apache.org/viewcvs?view=rev&rev=109279
>
> You probably want to get the svn checkout to continue working with the
> latest version:
>
> svn checkout
> http://svn.apache.org/repos/asf/httpd/test/trunk/perl-framework/Apache-Test
> Apache-Test
>
> For docs (where you can find the latest testing.pod) it's:
>
> svn co http://svn.apache.org/repos/asf/perl/modperl/docs/trunk modperl-docs
>
Thanks. Glad to contribute. It looks like the only change was naming the
cookies.pl to cookies.pl.PL. What cnvention did I miss so I don't make
that mistake again?
-=Chris
Re: FW: Re: Apache::TestRequest + Cookies
Posted by Stas Bekman <st...@stason.org>.
Christopher H. Laco wrote:
> Ok, here's my first crack at a quick n dirty cookies test.
>
> The new test is t/cookies.t, and it's supporting server file is
> t/htdocs/cgi-bin/cookies.pl. I figured the extra cgi-bin directory was
> good for sanity sake.
>
> I've also included the necessary patches to MANIFEST and extra.conf.in
> against A-T 1.16.
Thanks, Chris, committed with a few small adjustements. You can see the
commits here:
http://svn.apache.org/viewcvs?view=rev&rev=109277
http://svn.apache.org/viewcvs?view=rev&rev=109279
You probably want to get the svn checkout to continue working with the
latest version:
svn checkout
http://svn.apache.org/repos/asf/httpd/test/trunk/perl-framework/Apache-Test
Apache-Test
For docs (where you can find the latest testing.pod) it's:
svn co http://svn.apache.org/repos/asf/perl/modperl/docs/trunk modperl-docs
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com