cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Running tests in Windows

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sun, 1 May 2005 15:21:46 +0200 (CEST)

On Fri, 29 Apr 2005, Mohun Biswas wrote:

> See "perldoc perlfork" if you haven't.

Thanks for the pointer. Read that now.

> My experience is that, for basic fork/exec/wait functionality, it's solid in
> 5.8.* and less so if you still need to support 5.6.*. It actually works in
> 5.6.1 but a behavior I've observed[*] is that if the child "process" creates
> multiple subprocesses wait() gets mixed up and loses track of some children.

I use it very straight-forward and simply in my reworked test script: a fork()
followed by a plain exec() in the child. Hopefully this will work fine on
Windows too.

I've tested this version on Linux 2.6, Solaris 2.7, HP-UX 11.11, IRIX 6.5 and
AIX 5.2. It seems to work fine.

This has now been committed.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-05-01