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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Daniel Tiefnig
Date:  
À: exim-dev
Sujet: 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