10000 Require /bin/getfacl and /bin/setfacl when running the acl tests · freebsd/freebsd-src@a5e90b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit a5e90b2

Browse files
author
ngie
committed
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 git-svn-id: svn+ssh://svn.freebsd.org/base/head@295341 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
1 parent 281a889 commit a5e90b2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/sys/acl/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,14 @@ TAP_TESTS_SH+= 04
2222
TEST_METADATA.$t+= required_user="root"
2323
.endfor
2424

25+
_ACL_PROGS= /bin/getfacl /bin/setfacl
26+
2527
.for t in 01 03 04
26-
TEST_METADATA.$t+= required_programs="/sbin/zpool"
28+
TEST_METADATA.$t+= required_programs="/sbin/zpool ${_ACL_PROGS}"
29+
.endfor
30+
31+
.for t in 00 02
32+
TEST_METADATA.$t+= required_programs="${_ACL_PROGS}"
2733
.endfor
2834

2935
.include <bsd.test.mk>

0 commit comments

Comments
 (0)
0