Subject: Re: Bug in C02cont.ztst's -N test
From: Bart Schaefer <[email-masked]>
To: [email-masked]
Date: Mon, 9 May 2016 20:33:04 -0700
List-Id: Zsh Workers List <zsh-workers.zsh.org>

On May 10,  2:32am, Jun T. wrote:
}
} On a system where the nanosecond timestamps are not supported
} in order for the test '$newnewnew -nt $zlnfs' to succeed,
} the mtime's of the two files should have at least 1 second
} difference.

Aha.  Now that you mention it, I recall that ...

} Why does the original code sleeps 2 sec (instead of 1 sec).

... in some cases "sleep 1" will only sleep to the next whole-number
of seconds on the system clock, rather than sleeping a full second.
So "sleep 2" is needed to always make it at least one full second.

I've committed your patch.