HomeFreeBSD

makefs: tests: Fix timestamp-related tests

Description

makefs: tests: Fix timestamp-related tests

Use a variable for mtree that includes the DEFAULT_MTREE_KEYWORDS, in
order to avoid missing the important "time" keyword or passing an
unimplemented "nlink" keyword.

Unskip the "failing" tests, and comment out the specific failing checks,
these will be addressed (or at least discussed) in a different revision.

For MS-DOS tests, use an even value timestamp, as precision is 2s.

For ZFS tests, use import_image instead of mount_image consistently.

Reviewed by: bnovkov, markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D54429

(cherry picked from commit 93b15dbc1fbc3c33c9bd53091b28c3b629d0abe1)

Details

Provenance
jlduranAuthored on Jan 5 2026, 8:34 PM
Reviewer
bnovkov
Differential Revision
D54429: makefs: tests: Fix timestamp-related tests
Parents
rGb10369daede7: makefs: tests: Fix -D flag test
Branches
Unknown
Tags
Unknown