Module Name:    src
Committed By:   riz
Date:           Wed Jan  5 03:04:13 UTC 2011

Modified Files:
        src/tests/sbin/resize_ffs: common.sh

Log Message:
All of the generated tests require root, for rump_ffs.  Spotted by
nj...@.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 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.6 src/tests/sbin/resize_ffs/common.sh:1.7
--- src/tests/sbin/resize_ffs/common.sh:1.6	Wed Jan  5 02:25:27 2011
+++ src/tests/sbin/resize_ffs/common.sh	Wed Jan  5 03:04:13 2011
@@ -24,6 +24,9 @@
 	local check_function="${1}"; shift
 
 	atf_test_case "${name}" cleanup
+	eval "${name}_head() { \
+		atf_set "require.user" "root" ; \
+	}"
 	eval "${name}_body() { \
 		${check_function} " "$...@}" "; \
 	}"

Reply via email to