Re: [PATCH 02/24] generic/60[01]: fix test failure when setting new grace limit

Christoph Hellwig
2020-09-17T07:51:46Z

On Mon, Sep 14, 2020 at 06:43:08PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
>
> The setquota command can extend a quota grace period by a certain number
> of seconds. The extension is provided as a number of seconds relative
> to right now. However, if the system clock increments the seconds count
> after this test assigns $now but before setquota gets called, the test
> will fail because $get and $set will be off by that 1 second. Allow for
> that.
>
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>