Re: cvs commit: httpd-test/perl-framework/t/conf extra.conf.in
[EMAIL PROTECTED] wrote: jorton 2004/10/12 06:53:41 Modified:perl-framework/t/modules rewrite.t perl-framework/t/conf extra.conf.in Log: Add test for RewriteRule [P] flag which is broken in HEAD due to mod_proxy changes. joe++ :) --Geoff
Re: cvs commit: httpd-test/perl-framework/t/conf extra.conf.in
* Geoffrey Young [EMAIL PROTECTED] wrote: joe++ :) ! ;-) nd -- Solides und umfangreiches Buch -- aus einer Rezension http://pub.perlig.de/books.html#apache2
Re: cvs commit: httpd-test/perl-framework/t/conf extra.conf.in
[EMAIL PROTECTED] wrote: coar01/11/02 13:03:12 Modified:perl-framework/t/conf extra.conf.in Added: perl-framework/t/apache limits.t Log: Test the LimitRequest* directives $res = GET_RC($fail_requestline); print # Testing too-long request line\n, # Expecting status: 414\n, # Received status: $res\n; ok $res == 414; Ken, it's much easier to do the same using t_cmp() sub: use Apache::TestUtil; ok t_cmp( 414, GET_RC($fail_requestline), Testing too-long request line ); it's also more correct, since if $res is left undef for some reason: undef == 414 will kill the test, whereas t_cmp, will handle it graciously. If course you can do the extra check manually, but why when there is a special function designed to handle this. See 'perldoc Apache::TestUtil' for other useful test utils. _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: cvs commit: httpd-test/perl-framework/t/conf extra.conf.in
Okey, I used your suggestion, Stas. But shouldn't t_cmp() be prefixing its output with '# ' as you described a few days ago? -- #kenP-)} Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/ Author, developer, opinionist http://Apache-Server.Com/ All right everyone! Step away from the glowing hamburger!
Re: cvs commit: httpd-test/perl-framework/t/conf extra.conf.in
Rodent of Unusual Size wrote: Okey, I used your suggestion, Stas. But shouldn't t_cmp() be prefixing its output with '# ' as you described a few days ago? Sorry about that. The fix was too simple to do it right away :) I'm finishing the sw that will render the perl.apache.org site documentation and then will do all these things. I also plan to change t_cmp to trace only if there is a mismatch, or it's run under a special debug mode. Otherwise big tests generate too much clutter. _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/