HomeFreeBSD

ZTS: Fix redacted_send failures on FreeBSD

Description

ZTS: Fix redacted_send failures on FreeBSD

We're seeing failures for redacted_deleted and redacted_mount
on FreeBSD 13-15:

    09:58:34.74 diff: /dev/fd/3: No such file or directory
    09:58:34.74 ERROR: diff /dev/fd/3 /dev/fd/4 exited 2

The test was trying to diff the file listings between two directories to
see if they are the same. The workaround is to do a string comparison
of the directory listings instead of using diff.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #16224

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on May 31 2024, 10:11 PM
GitHub <noreply@github.com>Committed on May 31 2024, 10:11 PM
Parents
rGe2357561b949: FreeBSD: Add const qualifier to members of struct opensolaris_utsname
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGa301dc364c33: ZTS: Fix redacted_send failures on FreeBSD (authored by Tony Hutter <hutter2@llnl.gov>).May 31 2024, 10:11 PM