The attached patch makes the following updates to test.pl: 1. Don't executing the END block (installed by test.pl) in the watchdog process. 2. The cleanup of the watchdog process needs a wait(). (This was causing spurious test failures.) 3. Use which_perl() throughout test.pl (namely _create_runperl() and watchdog()). Revision localizes $? before calling wait(). Revision^2 properly escapes the $? in the eval string. Revision^3 moved $Perl to top of file