svn commit: r295341 - head/tests/sys/acl

Garrett Cooper ngie at FreeBSD.org
Fri Feb 5 23:50:16 UTC 2016


Author: ngie
Date: Fri Feb  5 23:50:15 2016
New Revision: 295341
URL: https://svnweb.freebsd.org/changeset/base/295341

Log:
  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

Modified:
  head/tests/sys/acl/Makefile

Modified: head/tests/sys/acl/Makefile
==============================================================================
--- head/tests/sys/acl/Makefile	Fri Feb  5 23:46:33 2016	(r295340)
+++ head/tests/sys/acl/Makefile	Fri Feb  5 23:50:15 2016	(r295341)
@@ -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>


More information about the svn-src-head mailing list