Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug in C02cont.ztst's -N test



On May 1,  1:48am, Daniel Shahaf wrote:
} Subject: Re: Bug in C02cont.ztst's -N test
}
} change the "repeat 30" to "until (( $(date +%s) > $starttime + 60 ))".

At this point we're doing a test in some kind of automated build system
so quite frankly as long as the loop doesn't go LESS than 60 seconds I
really don't care; but using "date" is unnecessary.

    SECONDS=0
    until (( SECONDS >= 60 )) ...


-- 
Barton E. Schaefer



Messages sorted by: Reverse Date, Date, Thread, Author