From a44c3b65123bf71b46e08b30f8dee85cd18d510a Mon Sep 17 00:00:00 2001 From: riz Date: Wed, 5 Jan 2011 03:04:13 +0000 Subject: [PATCH] All of the generated tests require root, for rump_ffs. Spotted by njoly@. --- tests/sbin/resize_ffs/common.sh | 3 +++ 1 file changed, 3 insertions(+) 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} " "${@}" "; \ }"