aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/acl
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* dirdeps: Update Makefile.depend* files with empty contentsStephen J. Kiernan2023-10-291-0/+6
| | | | | Some Makefile.depend* files were committed with no contents or empty DIRDEPS list, but they should have DIRDEPS with some contents.
* tests: Skip all tests that require mdconfig when /dev/mdctl missingWarner Losh2023-09-025-0/+20
| | | | | | | | | | When run in a jail, /dev/mdctl is missing. So skip any tests that use mdconfig or mdmfs with md in this case: they can't possibly work. This is in line with other tests that test for presence of required features and skip if they aren't present. I did this instead of checking for jails so they can still run in jails that allow creation of md devices. Sponsored by: Netflix
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-1615-15/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* acl tests: SerializeMark Johnston2023-03-301-1/+3
| | | | | | | Some of these tests import a ZFS pool with a hard-coded name, so they cannot run in parallel. MFC after: 1 week
* tests/sys/acl: Add ATF C test for newly added acl_* functions.Gleb Popov2021-08-272-0/+196
| | | | | | Reviewed by: kib, debdrup, gbe Approved by: kib Differential Revision: https://reviews.freebsd.org/D28255
* Drop "All rights reserved" from all my stuff. This includesEdward Tomasz Napierala2020-10-2812-12/+0
| | | | | | | | | | | | Foundation copyrights, approved by emaste@. It does not include files which carry other people's copyrights; if you're one of those people, feel free to make similar change. Reviewed by: emaste, imp, gbe (manpages) Differential Revision: https://reviews.freebsd.org/D26980 Notes: svn path=/head/; revision=367105
* Set required program for all acl testsKristof Provost2019-09-051-3/+3
| | | | | | | | | | | | | | r339782 re-enabled acl test 00 and 02, which were disabled in r336617 due to PR 229930. When the tests were disabled the code to set their required programs was disabled as well, but this was not reinstated when r339782 re-enabled them. Do so now. Sponsored by: Axiado Notes: svn path=/head/; revision=351884
* Add a very basic regression test for setfacl -R with NFSv4 ACLs.Mark Johnston2018-10-262-2/+60
| | | | | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=339795
* Update and re-enable ACL tests following r332396 and r339781.Mark Johnston2018-10-264-11/+9
| | | | | | | | | PR: 229930 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=339782
* Temporarily disable the sys/acl/00 and sys/acl/02 testsAlan Somers2018-07-221-5/+7
| | | | | | | | | | | These tests are failing due to PR 229930. Unfortunately, TAP tests can't be marked as expected failures. PR: 229930 Reported by: Jenkins Notes: svn path=/head/; revision=336617
* [tests] change tests/sys/acl/run to run on perl 5.26Eitan Adler2018-04-111-1/+1
| | | | | | | | Previously unescaped regex just resulted in a warning. Now it results in a failed test. Notes: svn path=/head/; revision=332399
* Make test scripts under tests/... non-executableEnji Cooper2017-08-082-0/+0
| | | | | | | | | | Executable bits should be set at install time instead of in the repo. Setting executable bits on files triggers false positives with Phabricator. MFC after: 2 months Notes: svn path=/head/; revision=322214
* Expect 01:main to failEnji Cooper2016-12-031-1/+1
| | | | | | | | | | | | Changes were made to ZFS in the past year with respect to how ACLs are handled, causing failures in this test. Mark it TODO so (hopefully) someone more knowledgeable (like mav or trasz) will fix the code or the test. PR: 212323 Notes: svn path=/head/; revision=309464
* Add a missing "Bail out!" if zpool create failsEnji Cooper2016-09-031-0/+1
| | | | | | | | | | | This will make the exit info more meaningful if/when zpool create fails, and establishes parity with the other 2 zfs acl testcases (01, 03). MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=305356
* Redirect the output of the testcases to stderr instead ofEnji Cooper2016-08-135-6/+6
| | | | | | | | | | | | redirecting it to /dev/null This will aid in debugging failures MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=304040
* Skip sys/acl tests on systems lacking perlAlan Somers2016-06-201-2/+2
| | | | | | | | | | | | | | tests/sys/acl/Makefile add perl to the required_programs for all tests in this directory Reviewed by: ngie Approved by: re (gjb) MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D6870 Notes: svn path=/head/; revision=302036
* Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedEnji Cooper2016-05-041-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | after r298107 Summary of changes: - Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed - Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc - Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously. - Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk - Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk. - Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo - Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup) Document the proposed changes in share/examples/tests/tests/... via examples so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of replacing FILES. share/mk/bsd.README didn't seem like the appropriate method of communicating that info. MFC after: never probably X-MFC with: r298107 PR: 209114 Relnotes: yes Tested with: buildworld, installworld, checkworld; buildworld, packageworld Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=299094
* MFHGlen Barber2016-03-101-0/+11
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296625
| * DIRDEPS_BUILD: Connect MK_TESTS.Bryan Drewery2016-03-091-0/+11
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296587
* | MFHGlen Barber2016-02-081-1/+7
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295394
| * Use basenames for getfacl, setfacl, and zpool to work around theEnji Cooper2016-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 MFC after: 1 week X-MFC with: r295341 Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295345
| * Require /bin/getfacl and /bin/setfacl when running the acl testsEnji Cooper2016-02-051-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=295341
* | More 'tests' package fixes.Glen Barber2016-02-031-0/+3
|/ | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295179
* Integrate tools/regression/acltools into the FreeBSD test suite as tests/sys/aclEnji Cooper2015-10-1714-0/+3342
- 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 Notes: svn path=/head/; revision=289446