Re: Apache::Test oustanding issues

2003-07-29 Thread Geoffrey Young
2) We have a problem with Apache::Test running as root, since when Apache "sudoes" into 'nobody' it can't access files under /root or some other root owned dir. The current cvs version already tries to tell the user about the problem before starting to run the test suite. I've use A::T to test

Re: apxs on Win32

2003-07-29 Thread Stas Bekman
Randy Kobes wrote: On Tue, 29 Jul 2003, Stas Bekman wrote: Randy Kobes wrote: I've been looking at getting apxs for Win32 working on Apache 2. There's a number of changes needed due to the current reliance on libtool, so initially I've tried just a pure Win32 version - if anyone wants to try it, I

Re: apxs on Win32

2003-07-29 Thread Randy Kobes
On Tue, 29 Jul 2003, Stas Bekman wrote: > Randy Kobes wrote: > > I've been looking at getting apxs for Win32 working on Apache 2. > > There's a number of changes needed due to the current reliance on > > libtool, so initially I've tried just a pure Win32 version - if > > anyone wants to try it, I'

httpd-test: failing to generate certificates for testing

2003-07-29 Thread Stas Bekman
I have: openssl-0.9.7a-1.1mdk libopenssl0.9.7-0.9.7a-1.1mdk libopenssl0.9.7-devel-0.9.7a-1.1mdk libopenssl0-0.9.6i-1.1mdk I can't configure the latest cvs of httpd-test/perl-framework test suite. It fails on: httpd-test/perl-framework/t/conf/ssl/ca/asf> openssl ca -policy policy_anything -in csr

Re: apxs on Win32

2003-07-29 Thread Stas Bekman
Randy Kobes wrote: I've been looking at getting apxs for Win32 working on Apache 2. There's a number of changes needed due to the current reliance on libtool, so initially I've tried just a pure Win32 version - if anyone wants to try it, I've put up two files - Configure.apxs and apxs.in - at http:

apxs on Win32

2003-07-29 Thread Randy Kobes
I've been looking at getting apxs for Win32 working on Apache 2. There's a number of changes needed due to the current reliance on libtool, so initially I've tried just a pure Win32 version - if anyone wants to try it, I've put up two files - Configure.apxs and apxs.in - at http://theoryx5.uwinnipe

hash seed randomization is cool

2003-07-29 Thread Stas Bekman
Just found a bug in Apache::Test's autogeneration of httpd.conf, exposed by the new hash seed randomization feature in 5.8.1-tobe (the order of config directives wasn't preserved when data was passed through the hash). Will be fixes in Apache::Test 1.04. I like this feature ;) _

Re: Apache::Test oustanding issues

2003-07-29 Thread Stas Bekman
Randy Kobes wrote: On Mon, 28 Jul 2003, David Wheeler wrote: On Monday, July 28, 2003, at 06:33 PM, Randy Kobes wrote: What about just skipping the tests if root is running the tests, and printing out an explanatory message why the tests are skipped? I don't think you can necessarily do this, be

Re: Apache::Test oustanding issues

2003-07-29 Thread Stas Bekman
Randy Kobes wrote: On Tue, 29 Jul 2003, Stas Bekman wrote: In the last few weeks the following two issues were raised: 1) store a default location of httpd/apxs in Apache::Test so one should provide it only once. I'm +1 on this feature. Is anybody interested to implement it? That sounds like a go

Re: Apache::Test oustanding issues

2003-07-29 Thread Randy Kobes
On Tue, 29 Jul 2003, Stas Bekman wrote: > In the last few weeks the following two issues were raised: > > 1) store a default location of httpd/apxs in Apache::Test so one should > provide it only once. > > I'm +1 on this feature. Is anybody interested to implement it? That sounds like a good idea

Re: Apache::Test oustanding issues

2003-07-29 Thread Randy Kobes
On Mon, 28 Jul 2003, David Wheeler wrote: > On Monday, July 28, 2003, at 06:33 PM, Randy Kobes wrote: > > What about just skipping the tests if root is running the > > tests, and printing out an explanatory message why the tests > > are skipped? > > I don't think you can necessarily do this, bec

Re: Apache::Test oustanding issues

2003-07-29 Thread David Wheeler
On Monday, July 28, 2003, at 06:33 PM, Randy Kobes wrote: Depending on where the source directory is, you may have to open up a parent directory normally restricted to root to a non-root user, which wouldn't be a good idea, even temporarily. Right. Grr. What about just skipping the tests if root i

Re: Apache::Test oustanding issues

2003-07-29 Thread Randy Kobes
On Mon, 28 Jul 2003, David Wheeler wrote: > On Monday, July 28, 2003, at 04:52 PM, Stas Bekman wrote: > > > We do that already. The problem is in the parent path. > > Try: > > cd /root ; mkdir t ; chmod 0777 t ; > > sudo -u 'nobody' perl -le 'print -r "t" && -w _ && -x _ ? "OK" : "NOK"' > > Oh, r

Re: Apache::Test oustanding issues

2003-07-29 Thread David Wheeler
On Monday, July 28, 2003, at 04:52 PM, Stas Bekman wrote: We do that already. The problem is in the parent path. Try: cd /root ; mkdir t ; chmod 0777 t ; sudo -u 'nobody' perl -le 'print -r "t" && -w _ && -x _ ? "OK" : "NOK"' Oh, right. That's one thing about Unix that I never got the hang of. Bu