Re: Apache::Test oustanding issues

2003-07-29 Thread Stas Bekman
David Wheeler wrote: On Monday, July 28, 2003, at 03:24 PM, Stas Bekman wrote: 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

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. But don't

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, right. That's one

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

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, because not

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 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

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,

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 ;)

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

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

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've put

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,

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 a