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
This commit is contained in:
ngie 2016-02-05 23:50:15 +00:00
parent e7ca06fef1
commit ebde2e6348

View File

@ -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>