diff --git a/tests/sbin/resize_ffs/common.sh b/tests/sbin/resize_ffs/common.sh index f4836ae7115a..ec0ddc596151 100644 --- a/tests/sbin/resize_ffs/common.sh +++ b/tests/sbin/resize_ffs/common.sh @@ -24,6 +24,9 @@ test_case() local check_function="${1}"; shift atf_test_case "${name}" cleanup + eval "${name}_head() { \ + atf_set "require.user" "root" ; \ + }" eval "${name}_body() { \ ${check_function} " "${@}" "; \ }"