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
Parents
rG7d8e2a7f7303: Linux 5.16: use bdev_nr_bytes() to get device capacity
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG97f1eb805225: ZTS: Fix redacted_send failures on FreeBSD (authored by Tony Hutter <hutter2@llnl.gov>).Jul 16 2024, 10:46 PM