On Wed, 8 Oct 2003, Stas Bekman wrote:
Stas Bekman wrote:
... You should be able then to reproduce this outside Apache-Test, just doing:
httpd > /dev/null &
and then trying to run requests on it, should reproduce the problem.
It's probably should be reproducable by a simple attempt to do:
print STDOUT "It works";
from the startup.pl file. Most likely it won't print anything and if you check the return code from print, it'll indicate failure.
That's right - I think it was in the way the server was started in Apache::TestServer. Here's a diff that seems to work, using IPC::Run3; I've tested it both with t/SMOKE and t/TEST, on Win32. Note that I left the "print $log;" statements in there, just to see the progress while debugging.
works fine on linux, +1 to commit sans 'print $log', and probably it'd be a good idea to add a comment to why:
Win32::Process::Create($obj, $httpd, "$cmd $one_process", - 0, + 1,
also we should probably add IPC::Run3 to lib/Bundle/Apache2.pm.
one remaining problem is that the move to IPC::Run3 introduced: Ctrl-C is no longer trappable (due to its use of 'system') immediately which causes t/SMOKE think that the test has failed, when it didn't. I'll need to look at how to solve this.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]