]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tmpfs: Improve file time tests.
authorDag-Erling Smørgrav <des@FreeBSD.org>
Thu, 4 Apr 2024 13:40:47 +0000 (15:40 +0200)
committerDag-Erling Smørgrav <des@FreeBSD.org>
Thu, 4 Apr 2024 13:40:54 +0000 (15:40 +0200)
commit8311bc5f17dec348749f763b82dfe2737bc53cd7
treec295f30f15e0b3062e02d9cf669471b877b9bdb3
parent4848eb3af2a91b133c4b70cb9b71dd92ffec7f46
tmpfs: Improve file time tests.

* The empty test case no longer fails because 89f1dcb3eb46 causes empty
  files to bypass the bug.
* The bug still exists, so add a test case which exercises it.
* While here, tighten up some of the checks.

A similar patch has been submitted upstream.

PR: 274615
X-MFC-With: 89f1dcb3eb46
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D44609
contrib/netbsd-tests/fs/tmpfs/t_times.sh