in reply to Net::Daemon forkm.t "FAILED before any test output arrived"

I too am having the same problem with Redhat AS 3. Anyone solved this?
  • Comment on Re: Net::Daemon forkm.t "FAILED before any test output arrived"

Replies are listed 'Best First'.
Re^2: Net::Daemon forkm.t "FAILED before any test output arrived"
by Anonymous Monk on Sep 22, 2004 at 22:04 UTC
    This problem seems to be a result of the SIGCHLD returning too quickly. The end result is that the array of %childs doesn't get emptied as 2 or more SIGCHLD's are received too quickly for more then one PID to be removed from the list. A simple fix is to slow down the children in the test such that the parent can flush them. Just add a "sleep 1;" at the bottom of the for loop which spawns the children. That gives enough separation on death to allow the parent to reap them.