ZTS: Misc test fixes for FreeBSD

Add missing logic for FreeBSD to a few test scripts.

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #9994
This commit is contained in:
Ryan Moeller
2020-02-13 16:52:34 -05:00
committed by GitHub
parent 71439163bb
commit 4f4ddf98ee
12 changed files with 85 additions and 41 deletions
@@ -24,6 +24,7 @@
verify_runnable "global"
if is_freebsd; then
log_unsupported "FreeBSD has no hole punching mechanism for the time being."
diskinfo -v $DISKS | grep -qE 'No.*# TRIM/UNMAP support' &&
log_unsupported "DISKS do not support discard (TRIM/UNMAP)"
else