10000 MFC r295341,r295345: · freebsd/freebsd-src@9400610 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9400610

Browse files
committed
MFC r295341,r295345:
r295341: 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 r295345: Use basenames for getfacl, setfacl, and zpool to work around the fact that Jenkins hardcodes image sizes to 2GB with the FreeBSD_HEAD job This is to stop the unnecessary failure emails because we've gone over the 2GB limit
1 parent 8f12226 commit 9400610

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= getfacl setfacl
26+
2527
.for t in 01 03 04
26-
TEST_METADATA.$t+= required_programs="/sbin/zpool"
28+
TEST_METADATA.$t+= required_programs="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