CARVIEW |
Select Language
HTTP/2 200
cache-control: max-age=43200
server: Combust/Plack (Perl)
vary: Accept-Encoding
content-encoding: gzip
content-length: 1309
content-type: text/html; charset=utf-8
last-modified: Sat, 11 Oct 2025 15:47:23 GMT
traceparent: a740b2ed46e86bdb3405eb2e07ddb288
strict-transport-security: max-age=15768000
[PATCH - revised^4] test.pl fix - nntp.perl.org
Front page | perl.perl5.porters |
Postings from July 2008
nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About

[PATCH - revised^4] test.pl fix
Thread NextFrom:
Jerry D. HeddenDate:
July 7, 2008 10:29Subject:
[PATCH - revised^4] test.pl fixMessage ID:
1ff86f510807071029q5931f03ud506f06b7d1f72af@mail.gmail.comThe 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. Revision^4 uses a watchdog thread if threads is loaded. (I forgot that fork() + threads is a no-no.)Thread Next
- [PATCH - revised^4] test.pl fix by Jerry D. Hedden
- Re: [PATCH - revised^4] test.pl fix by Rafael Garcia-Suarez
nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About