Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/sbin/resize_ffs All of the generated tests require roo...
details: https://anonhg.NetBSD.org/src/rev/6a0eebe108ca
branches: trunk
changeset: 760442:6a0eebe108ca
user: riz <riz%NetBSD.org@localhost>
date: Wed Jan 05 03:04:13 2011 +0000
description:
All of the generated tests require root, for rump_ffs. Spotted by
njoly@.
diffstat:
tests/sbin/resize_ffs/common.sh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 2c953a4d0034 -r 6a0eebe108ca tests/sbin/resize_ffs/common.sh
--- a/tests/sbin/resize_ffs/common.sh Wed Jan 05 02:25:27 2011 +0000
+++ b/tests/sbin/resize_ffs/common.sh Wed Jan 05 03:04:13 2011 +0000
@@ -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} " "${@}" "; \
}"
Home |
Main Index |
Thread Index |
Old Index