summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-02-05 23:50:15 +0000
committerngie <ngie@FreeBSD.org>2016-02-05 23:50:15 +0000
commitebde2e6348e8c51b90136123557364880f072efb (patch)
tree3186fc04141572228528e314025947afe4ae1de8 /tests
parente7ca06fef133f827bef89f564ac7e91b6d423ee7 (diff)
downloadFreeBSD-src-ebde2e6348e8c51b90136123557364880f072efb.zip
FreeBSD-src-ebde2e6348e8c51b90136123557364880f072efb.tar.gz
Require /bin/getfacl and /bin/setfacl when running the acl tests
For cases where these utilities aren't installed, the tests would fail today in a non-intuitive manner on sub-testcase #3 in each of the test scripts MFC after: 1 week Reviewed by: markj Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/acl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/sys/acl/Makefile b/tests/sys/acl/Makefile
index 298b0a2..3f40bb2 100644
--- a/tests/sys/acl/Makefile
+++ b/tests/sys/acl/Makefile
@@ -22,8 +22,14 @@ TAP_TESTS_SH+= 04
TEST_METADATA.$t+= required_user="root"
.endfor
+_ACL_PROGS= /bin/getfacl /bin/setfacl
+
.for t in 01 03 04
-TEST_METADATA.$t+= required_programs="/sbin/zpool"
+TEST_METADATA.$t+= required_programs="/sbin/zpool ${_ACL_PROGS}"
+.endfor
+
+.for t in 00 02
+TEST_METADATA.$t+= required_programs="${_ACL_PROGS}"
.endfor
.include <bsd.test.mk>
OpenPOWER on IntegriCloud