Re: [exim-dev] Preliminary testing of a new Exim test suite

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Daniel Tiefnig
Dátum:  
Címzett: exim-dev
Tárgy: Re: [exim-dev] Preliminary testing of a new Exim test suite
Daniel Tiefnig wrote:
> for(1..3)
> {
> system("sudo /bin/kill -0 $pid") and last;
> sleep 1;
> }
> tests_exit(-1, "Failed to kill daemon $pid)
> if system("sudo /bin/kill -0 $pid")


Damn, this should be "unless system(...);" on the last line. Maybe I
should start to try to run code I send to mailing lists. >:o|
At a least it should be syntactically correct and not missing semicolons.

lg,
daniel