On 07/29/2014 04:49 PM, Bernhard Voelker wrote:
> With the attached, sleep supports the subtraction of amounts, e.g.
> 
>   $ sleep -- 1d -10m
> 
> as discussed in http://bugs.gnu.org/7877#67.
> 
> Please keep a special eye on the new test during the review:
> it might be racy, but at least it's a start for discussion.

You may want to improve this usage:

$ src/sleep -- -inf inf
src/sleep: cannot read realtime clock: Invalid argument

to give a nicer message.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to