summaryrefslogtreecommitdiffstats
path: root/pw/tests/Makefile
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2014-11-03 09:26:39 +0000
committerEnji Cooper <ngie@FreeBSD.org>2014-11-03 09:26:39 +0000
commitcf28a17818058981489f2d7b9146b87ffd2b5049 (patch)
treee08aefcd7e7090e320e8235f004ea732346b2780 /pw/tests/Makefile
parent00c88f079d3649e574741f99469b6051cdd315bb (diff)
downloadpw-darwin-cf28a17818058981489f2d7b9146b87ffd2b5049.tar.gz
pw-darwin-cf28a17818058981489f2d7b9146b87ffd2b5049.tar.zst
pw-darwin-cf28a17818058981489f2d7b9146b87ffd2b5049.zip
Require root when running the pw_delete and pw_modify test programs (pw(8)
requires it)
Diffstat (limited to 'pw/tests/Makefile')
-rw-r--r--pw/tests/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/pw/tests/Makefile b/pw/tests/Makefile
index 084c304..fabf624 100644
--- a/pw/tests/Makefile
+++ b/pw/tests/Makefile
@@ -7,6 +7,9 @@ TESTSDIR= ${TESTSBASE}/usr.sbin/pw
ATF_TESTS_SH= pw_delete pw_modify
+TEST_METADATA.pw_delete+= required_user="root"
+TEST_METADATA.pw_modify+= required_user="root"
+
FILES= group helper_functions.shin master.passwd
FILESDIR= ${TESTSDIR}