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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Daniel Tiefnig
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: 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