HomeFreeBSD

tmpfs: Improve file time tests.

Description

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

(cherry picked from commit 8311bc5f17dec348749f763b82dfe2737bc53cd7)

Details

Provenance
desAuthored on Apr 4 2024, 1:40 PM
Reviewer
markj
Differential Revision
D44609: tmpfs: Improve file time tests.
Parents
rG7da45efb0921: kern linker: Do not touch userrefs of the kernel file
Branches
Unknown
Tags
Unknown