develooper Front page | perl.perl5.porters | Postings from July 2008

[PATCH - revised^3] test.pl fix

From:
Jerry D. Hedden
Date:
July 6, 2008 18:33
Subject:
[PATCH - revised^3] test.pl fix
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




Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About