Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in C02cont.ztst's -N test
- X-seq: zsh-workers 38384
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Bug in C02cont.ztst's -N test
- Date: Sat, 30 Apr 2016 21:42:24 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=s0rBYzhDKjAAcuA1d5eJdj7nhm6yBGLBVPwRYogWt1s=; b=eLpDu8A22tHlFuYTV/2VA/xp7sPFJTULxfAomCmUh/EBSxs+2WDI+jqjsWfOfCxx3z QUHOAk2DfJalj9OKWkVcYUGDVSJbguZpeB85tTTXeJ4D/hML1uOErIESQb9GBndCwGpS 7PkUlKKHxXXPrLbKS/rXv9lYBhEE4Pv8NnZBEF5k1LB7syJv1ag3LN+woaEDOSqjm/ql p7VlvDW/gcEVO/6rsURMK0FLV9bT71DSeK/17SiQcZUq0cnpxhH6P+f2RklHwk84+4Xk Rss0IKV+e1+m433WsTRsyxabxWhFc48VnUwN7/7qJYRDsEvT+iAzotA1nviVs+UavSZW TV+g==
- In-reply-to: <20160501014858.GA14837@tarsus.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <ufa1t5pl0yg.fsf@epithumia.math.uh.edu> <160429131027.ZM22749@torch.brasslantern.com> <ufashy4ghvy.fsf@epithumia.math.uh.edu> <20160430004639.GA1360@tarsus.local2> <20160430010131.GA34472@CptOrmolo.darkstar> <20160430012828.GA3334@tarsus.local2> <CAH+w=7b9kKY1Xr5YHFHMS4YzSptJWwU_N6p+s3R=Q=QjYYSo3w@mail.gmail.com> <160430105547.ZM10892@torch.brasslantern.com> <160430111131.ZM11437@torch.brasslantern.com> <20160501014858.GA14837@tarsus.local2>
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