From owner-svn-src-head@freebsd.org Sat Oct 17 08:39:38 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F16EDA1359D; Sat, 17 Oct 2015 08:39:38 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9D54F10E6; Sat, 17 Oct 2015 08:39:38 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9H8dbM5057329; Sat, 17 Oct 2015 08:39:37 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9H8dbVB057326; Sat, 17 Oct 2015 08:39:37 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201510170839.t9H8dbVB057326@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Garrett Cooper Date: Sat, 17 Oct 2015 08:39:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r289446 - in head: etc/mtree tests/sys tests/sys/acl tools/regression/acltools X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2015 08:39:39 -0000 Author: ngie Date: Sat Oct 17 08:39:37 2015 New Revision: 289446 URL: https://svnweb.freebsd.org/changeset/base/289446 Log: Integrate tools/regression/acltools into the FreeBSD test suite as tests/sys/acl - Make the requirements more complete for the testcases - Detect prerequisites so the tests won't fail (zfs.ko is loaded, zpool(1) is available, ACL support is enabled with UFS, etc). - Work with temporary files/directories/mountpoints that work with atf/kyua - Limit the testcases to work on temporary filesystems to reduce tainting the test host MFC after: 2 weeks Reviewed by: trasz (earlier version) Differential Revision: https://reviews.freebsd.org/D3810 Added: head/tests/sys/acl/ - copied from r289236, user/ngie/more-tests2/tests/sys/acl/ head/tests/sys/acl/Makefile - copied unchanged from r289325, user/ngie/more-tests2/tests/sys/acl/Makefile Deleted: head/tools/regression/acltools/ Modified: head/etc/mtree/BSD.tests.dist head/tests/sys/Makefile Directory Properties: head/ (props changed) Modified: head/etc/mtree/BSD.tests.dist ============================================================================== --- head/etc/mtree/BSD.tests.dist Sat Oct 17 07:32:46 2015 (r289445) +++ head/etc/mtree/BSD.tests.dist Sat Oct 17 08:39:37 2015 (r289446) @@ -360,6 +360,8 @@ .. .. sys + acl + .. aio .. fifo Modified: head/tests/sys/Makefile ============================================================================== --- head/tests/sys/Makefile Sat Oct 17 07:32:46 2015 (r289445) +++ head/tests/sys/Makefile Sat Oct 17 08:39:37 2015 (r289446) @@ -4,6 +4,7 @@ TESTSDIR= ${TESTSBASE}/sys +TESTS_SUBDIRS+= acl TESTS_SUBDIRS+= aio TESTS_SUBDIRS+= fifo TESTS_SUBDIRS+= file Copied: head/tests/sys/acl/Makefile (from r289325, user/ngie/more-tests2/tests/sys/acl/Makefile) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tests/sys/acl/Makefile Sat Oct 17 08:39:37 2015 (r289446, copy of r289325, user/ngie/more-tests2/tests/sys/acl/Makefile) @@ -0,0 +1,29 @@ +# $FreeBSD$ + +TESTSDIR= ${TESTSBASE}/sys/acl + +BINDIR= ${TESTSDIR} + +FILES+= tools-crossfs.test +FILES+= tools-nfs4.test +FILES+= tools-nfs4-psarc.test +FILES+= tools-nfs4-trivial.test +FILES+= tools-posix.test + +SCRIPTS+= run + +TAP_TESTS_SH+= 00 +TAP_TESTS_SH+= 01 +TAP_TESTS_SH+= 02 +TAP_TESTS_SH+= 03 +TAP_TESTS_SH+= 04 + +.for t in ${TAP_TESTS_SH} +TEST_METADATA.$t+= required_user="root" +.endfor + +.for t in 01 03 04 +TEST_METADATA.$t+= required_programs="/sbin/zpool" +.endfor + +.include