Module Name: src Committed By: njoly Date: Tue May 17 22:01:41 UTC 2011
Modified Files: src/tests/sbin/resize_ffs: common.sh Log Message: Add require root user to test_case_xfail. Avoids reporting expected failure for the wrong reason with unprivileged runs (puffs access denied). To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/tests/sbin/resize_ffs/common.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/sbin/resize_ffs/common.sh diff -u src/tests/sbin/resize_ffs/common.sh:1.11 src/tests/sbin/resize_ffs/common.sh:1.12 --- src/tests/sbin/resize_ffs/common.sh:1.11 Fri Mar 4 17:56:53 2011 +++ src/tests/sbin/resize_ffs/common.sh Tue May 17 22:01:41 2011 @@ -44,6 +44,9 @@ local check_function="${1}"; shift atf_test_case "${name}" cleanup + eval "${name}_head() { \ + atf_set "require.user" "root" ; \ + }" eval "${name}_body() { \ atf_expect_fail "${reason}" ; \ ${check_function} " "${@}" "; \