HomeFreeBSD

makefs: tests: Cleanup and remove default flags

Description

makefs: tests: Cleanup and remove default flags

Cleanup and remove default atf_check flags for clarity. The following
two lines are equivalent:

atf_check $cmd
atf_check -s exit:0 -e empty -o empty $cmd

Update the links to the reference documents.

Remove the D_flag_cleanup function, as common_cleanup() for these
particular set of tests does two things:

  1. Unmount the md(4) device.
  2. Destroy the md(4) device.

Essentially, one should only call common_cleanup() if the test body
invokes mount_image(). This is not the case for D_flag_body().

No functional changes intended.

Reviewed by: ngie
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D54427

Details

Provenance
jlduranAuthored on Jan 5 2026, 8:32 PM
Reviewer
ngie
Differential Revision
D54427: makefs: tests: Cleanup and remove default flags
Parents
rG065f02174f76: makefs: tests: Double the timeout of ZFS file_extend test
Branches
Unknown
Tags
Unknown