Re: POST with no data

2002-09-11 Thread Gary Benson
On Tue, Sep 10, 2002 at 05:55:27PM +0100, Gary Benson wrote: I've been trying to write some tests and have been trying to send POST requests with no body. It seems that Apache::TestRequest::POST only adds a Content-Length when the length of the content is nonzero, so attempts to 'POST /foo

POST with no data

2002-09-10 Thread Gary Benson
Hi all, I've been trying to write some tests and have been trying to send POST requests with no body. It seems that Apache::TestRequest::POST only adds a Content-Length when the length of the content is nonzero, so attempts to 'POST /foo/bar, ' result in a 411 Length Required from httpd. I'm

[bug] 404 served instead of 401

2001-12-21 Thread Gary Benson
Hi, I found a bug whereby Apache 1.3.22 inconsistently handles the interaction between aliases to non-existant paths and authentication. If the alias is specified as an absolute path then a 401 is always served, but if the alias is a relative path then in some cases a 404 will be served. I

Re: [bug] 404 served instead of 401

2001-12-21 Thread Gary Benson
On Fri, 21 Dec 2001, Rodent of Unusual Size wrote: Gary Benson wrote: I found a bug whereby Apache 1.3.22 inconsistently handles the interaction between aliases to non-existant paths and authentication. If the alias is specified as an absolute path then a 401 is always served

mod_random_chunk

2001-10-22 Thread Gary Benson
Hi, If you remove the #define HTTPD_TEST_REQUIRE_APACHE 2 from mod_random_chunk.c then it compiles and runs successfully but does not pass the tests. It seems that it is not sending any headers: should it be? | $ t/TEST --start-httpd | ... blah blah blah ... | $ telnet localhost 8529 | Trying

Re: httpd-test results with Apache 1.3.22

2001-10-11 Thread Gary Benson
On Thu, 11 Oct 2001, Justin Erenkrantz wrote: Failed Test Status Wstat Total Fail Failed List of Failed --- modules/autoindex.t 84 84 100.00% 1-84 modules/dir.t209 208

Re: How to deal with PerlModule?

2001-09-17 Thread Gary Benson
On Mon, 17 Sep 2001, Stas Bekman wrote: Gary Benson wrote: Hi all, In the config we maintain a list of modules, both compiled in and loaded via LoadModule, which is build in TestConfigParse.pm. I've been trying to figure out how to deal with modules loaded via PerlModule

Re: What is test.o?

2001-09-13 Thread Gary Benson
On Wed, 12 Sep 2001, Doug MacEachern wrote: On Wed, 12 Sep 2001, Gary Benson wrote: The makefile itself makes the directory, and puts a .exists file in it, but I don't know what it is trying to to do it or why. I've attached my makefile if you want to compare, or if you send me yours

Re: Error from mod_cgi test

2001-09-13 Thread Gary Benson
... Gary [ Gary Benson, Red Hat Europe ][ [EMAIL PROTECTED] ][ GnuPG 85A8F78B ]

Re: What is test.o?

2001-09-12 Thread Gary Benson
On Wed, 12 Sep 2001, Doug MacEachern wrote: On Wed, 12 Sep 2001, Gary Benson wrote: rm -f blib/arch/auto/httpd-test/test.so LD_RUN_PATH= gcc -shared test.o -o blib/arch/auto/httpd-test/test.so gcc: test.o: No such file or directory gcc: No input files make: *** [blib/arch/auto

Re: [Fwd: FAILURE httpd-2.0 automated test log]

2001-09-12 Thread Gary Benson
:57PM +0100, Gary Benson wrote: + + On Sat, 8 Sep 2001, Doug MacEachern wrote: + + On 6 Sep 2001, Ian Holsman wrote: + + 1. running modules/cgi from a cron job fails on certain tests. + + haven't looked into that, could be a permissions problem? + + or a problem with the fact

Re: Apache 1.3.21 tag and roll

2001-09-08 Thread Gary Benson
On Fri, 7 Sep 2001, Bill Stoddard wrote: I'd like to tag and roll Apache 1.3.21. Anyone have anything they would like to get in first? Is there any chance of merging the mod_env bugfix patch from PR#8254? Gary [ Gary Benson, Red Hat Europe ][ [EMAIL PROTECTED] ][ GnuPG 60E8793A ]

Porting c-modules to Apache 1.3

2001-09-07 Thread Gary Benson
compiled to $dir/$mod-{name}.so; is this another Apache 2 thing? Would this be an appropriate fix: my $so = $self-{server}-{rev} == 1 ? $dir/$mod-{name}.so : $dir/.libs/$mod-{name}.so; Cheers, Gary [ Gary Benson, Red Hat Europe ][ [EMAIL PROTECTED] ][ GnuPG 60E8793A ] Index: perl

Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm TestConfigParse.pm

2001-09-06 Thread Gary Benson
untaint it? I can't tell, since mine doesn't complain about it being tainted at this point and I can't figure out a way to make it do so. Why do you need to untaint here anyway? Is this something from mod_perl? I'm confused! Gary [ Gary Benson, Red Hat Europe ][ [EMAIL PROTECTED] ][ GnuPG 60E8793A ]

Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm TestConfigParse.pm

2001-09-06 Thread Gary Benson
On Thu, 6 Sep 2001, Stas Bekman wrote: On Thu, 6 Sep 2001, Gary Benson wrote: On 6 Sep 2001 [EMAIL PROTECTED] wrote: stas01/09/05 19:36:44 Modified:perl-framework/Apache-Test/lib/Apache TestConfig.pm TestConfigParse.pm Log

TestConfig-new deletes vhosts (et al)

2001-09-03 Thread Gary Benson
it deletes the vhosts stuff -- is it required by something else, or was it once required but not any more? Cheers, Gary [ Gary Benson, Red Hat Europe ][ [EMAIL PROTECTED] ][ GnuPG 60E8793A ]

Re: Is there a way to disable the ANSI?

2001-08-31 Thread Gary Benson
On Thu, 30 Aug 2001, Doug MacEachern wrote: On Fri, 31 Aug 2001, Gary Benson wrote: ANSI escape codes are what you send to a terminal to make it do stuff. For example, if you print \e[31;42;1m to a terminal (where \e is ESC, or ASCII 27) it will make text appear as bold red on a green

Re: Is there a way to disable the ANSI?

2001-08-31 Thread Gary Benson
At the moment I am testing the test :-) Gary [ Gary Benson, Red Hat Europe ][ [EMAIL PROTECTED] ][ GnuPG 60E8793A ] On Thu, 30 Aug 2001, john sachs wrote: if you have the fix, just send along the patch and i can commit for you. wait...did you already do that once? -j On Thu, Aug 30, 2001

commit emails

2001-08-31 Thread Gary Benson
Hi guys, Sorry to be a pain, but I've made two commits in the past 12 hours and haven't received the commit emails. Could someone look into it for me? Gary [ Gary Benson, Red Hat Europe ][ [EMAIL PROTECTED] ][ GnuPG 60E8793A ]

Re: My previous two commits

2001-08-31 Thread Gary Benson
On Fri, 31 Aug 2001, Justin Erenkrantz wrote: On Fri, Aug 31, 2001 at 08:53:24AM -0700, Aaron Bannert wrote: On Fri, Aug 31, 2001 at 02:47:58PM +0100, Gary Benson wrote: Since it seems that my previous two commit emails disappeared, so for your pleasure I have recreated them

Re: Is there a way to disable the ANSI?

2001-08-30 Thread Gary Benson
On Thu, 30 Aug 2001, Ian Holsman wrote: I'm trying to get a nightly test going, (nearly done) If you are running it from cron then the mod_env tests will fail. Don't worry; when my commit access works I'll commit a fix... Gary [ Gary Benson, Red Hat Europe ][ [EMAIL PROTECTED] ][ GnuPG

Re: Core dump scan breaks exit() status

2001-08-29 Thread Gary Benson
request that you commit it? Gary [ Gary Benson, Red Hat Europe ][ [EMAIL PROTECTED] ][ GnuPG 60E8793A ]

Re: Fix for mod_access test

2001-08-28 Thread Gary Benson
On Tue, 28 Aug 2001, Doug MacEachern wrote: On Tue, 28 Aug 2001, Gary Benson wrote: Is my $localhost_name = Apache::TestConfig-default_localhost; valid? Should you not do this: my $env = Apache::TestConfig-thaw; my $localhost_name = $env-{vars}-{servername}; yeah, just

Re: starting 'writing tests' doc?

2001-08-13 Thread Gary Benson
I have no problems with writing some docs once I start writing tests. I'm away for the rest of this week, though, so don't expect anything soon... Gary [ Gary Benson, Red Hat Europe ][ [EMAIL PROTECTED] ][ GnuPG 60E8793A ] On Mon, 13 Aug 2001, Stas Bekman wrote: Hey guys, what do you think

Date problems in expires.t?

2001-08-13 Thread Gary Benson
_when_ you calculate it from. Have fun with that one, Gary [ Gary Benson, Red Hat Europe ][ [EMAIL PROTECTED] ][ GnuPG 60E8793A ]

Re: Ensure paths for EAPI exist

2001-08-11 Thread Gary Benson
On Fri, 10 Aug 2001, Doug MacEachern wrote: thanks, looks good, applied. Thank you, Gary

Re: Fix for php func5 test

2001-08-10 Thread Gary Benson
You're welcome... On Fri, 10 Aug 2001, john sachs wrote: oh, cool thanks! On Fri, Aug 10, 2001 at 01:59:50PM +0100, Gary Benson wrote: + + For some reason, not all builds of PHP send output from shutdown functions + to the error log. This patch makes damn sure that the message goes

Re: t/modules/rewrite tweaking

2001-08-09 Thread Gary Benson
On Thu, 9 Aug 2001, Stas Bekman wrote: On Thu, 9 Aug 2001, Gary Benson wrote: On Thu, 9 Aug 2001, Stas Bekman wrote: Some methods of extreme programming suggest writing tests even before the code have been written I tried this once, for the lexical parser in a desktop calculator

Re: perl-framework/t/php/func5.t failure

2001-08-09 Thread Gary Benson
Thanks. On Thu, 9 Aug 2001, john sachs wrote: ah. i see where this is going. i will make the fix. -j On Thu, Aug 09, 2001 at 06:06:41PM +0100, Gary Benson wrote: + + What does httpd -V | grep DEFAULT_ERRORLOG say in your setup? + + On Thu, 9 Aug 2001, john sachs wrote: + + the test

Re: Apache::BuildConfig

2001-08-07 Thread Gary Benson
On Tue, 7 Aug 2001, Doug MacEachern wrote: On Tue, 7 Aug 2001, Gary Benson wrote: I've been trying to get httpd-test up and running; could someone please point me in the direction of the module Apache::BuildConfig? that is generated by modperl-2.0. it is optional for httpd-test

Re: Belated introduction

2001-08-07 Thread Gary Benson
On Tue, 7 Aug 2001, Justin Erenkrantz wrote: Welcome. =-) There are no stupid questions... That's always nice... Are you looking for something that does more functional testing or load testing? Definitely functional testing at the moment. We have a prototype that someone wrote several