in reply to Getting Test::More to ignore forked children
You're forking, and running a test in both parent and child, hence the extra test. If you really want two tests you'll need to:
If you don't want to run tests in parent and child then... erm... don't execute the test statements. Stick if ($child_pid) { ... } round the tests.
Or am I completely missing the point? :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Getting Test::More to ignore forked children
by diotalevi (Canon) on Nov 13, 2003 at 23:29 UTC | |
by adrianh (Chancellor) on Nov 13, 2003 at 23:44 UTC | |
by diotalevi (Canon) on Nov 13, 2003 at 23:52 UTC |