Skip to content

Commit

Permalink
Require /bin/getfacl and /bin/setfacl when running the acl tests
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ngie-eign committed Feb 5, 2016
1 parent e7ca06f commit ebde2e6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/sys/acl/Makefile
Expand Up @@ -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>

0 comments on commit ebde2e6

Please sign in to comment.