diff --git a/tests/zfs-tests/include/commands.cfg b/tests/zfs-tests/include/commands.cfg index 77562700c..b6cc3402b 100644 --- a/tests/zfs-tests/include/commands.cfg +++ b/tests/zfs-tests/include/commands.cfg @@ -114,6 +114,7 @@ export SYSTEM_FILES_COMMON='arp export SYSTEM_FILES_FREEBSD='chflags compress dumpon + env fsck getextattr gpart diff --git a/tests/zfs-tests/include/libtest.shlib b/tests/zfs-tests/include/libtest.shlib index bddca368d..d13abc4d6 100644 --- a/tests/zfs-tests/include/libtest.shlib +++ b/tests/zfs-tests/include/libtest.shlib @@ -3970,7 +3970,7 @@ function stat_size # function faketty { if is_freebsd; then - script -q /dev/null "$@" + script -q /dev/null env "$@" else script --return --quiet -c "$*" /dev/null fi