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:
parent
dd917c79b4
commit
f3975b867e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295341
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user