tests/sys/vfs/lookup_cap_dotdot: No longer aborts after ATF updateIt appears this test no longer fails after c203bd70b5957f85616424b6fa374479372d06e3.PR: 215690(cherry picked from commit 1eec58
tests/sys/vfs/lookup_cap_dotdot: No longer aborts after ATF updateIt appears this test no longer fails after c203bd70b5957f85616424b6fa374479372d06e3.PR: 215690(cherry picked from commit 1eec5861d52e074bc20d08aef051af59cc70040e)
show more ...
vfs_lookup: Allow PATH_MAX-1 symlinksPreviously, symlinks in FreeBSD were artificially limited to PATH_MAX-2.Add a short test case to verify the change.Submitted by: Gaurav Gangalwar <ggangalwa
vfs_lookup: Allow PATH_MAX-1 symlinksPreviously, symlinks in FreeBSD were artificially limited to PATH_MAX-2.Add a short test case to verify the change.Submitted by: Gaurav Gangalwar <ggangalwar AT isilon.com>Reviewed by: kibSponsored by: Dell EMC IsilonDifferential Revision: https://reviews.freebsd.org/D12589
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
Make test scripts under tests/... non-executableExecutable bits should be set at install time instead of in the repo.Setting executable bits on files triggers false positives with Phabricator.MF
Make test scripts under tests/... non-executableExecutable 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
trailing_slash is a TAP-compliant testcase; mark it as such, insteadof calling is a plain testcase.MFC after: 1 month
Don't hardcode path to file in /tmp; this violates the kyua sandboxMFC after: 1 month
Mark testcases which use cap_enter as expected failures until thePR is resolved so those of us that run the tests don't have thebogus failures counted against our overall resultsPR: 215690
Remove WARNS set globally by ../Makefile.inc nowSponsored by: Dell EMC Isilon
Bump WARNS up to 6 againHas not been tested (can't be after r312103 without cem's hacksto atf/kyua)!
Follow-up to r312103:Revert r310995 as well.
Revert r310994Don't implement some terrible hack on a test by test basis. Theframework fix is straightforward and can be chased up in the originalbug.Reviewed by: ngie ("be my guest")
Bump WARNS to 6 to catch simple QA issues like some of the ones I squashedin r310994
Make sys/vfs/lookup_cap_dotdot actually work with "kyua test"The tests don't work when reading/writing to file descriptors in thesandbox after entering capability mode (and wouldn't have, regardle
Make sys/vfs/lookup_cap_dotdot actually work with "kyua test"The tests don't work when reading/writing to file descriptors in thesandbox after entering capability mode (and wouldn't have, regardlessof the framework), so adjust the tests so they function within theframework.For tests that enter capability mode over the course of the test, thefollowing is now done: 1. Fork child process for capability mode test. 2. In child... i. Enter capability mode. ii. Test invariants. iii. Exit after calling test function. 3. Collect status for child and determine whether or not it completed successfully.In order to test the invariants in the child process, they now use assert(3)instead of ATF_REQUIRE*, as the atf-c-api functions right to results filesin the directories in order to determine where and how tests fail.While in the area, fix several -Wshadow and -Wunused warnings found when Ibumped WARNS up to 6, and fix some minor style(9) issues with indentationand type alignment.PR: 215690
Add basic ATF tests for Capability mode .. lookupsA follow-up to r309887.Several tests copied verbatim fromhttps://github.com/emaste/snippets/blob/master/test_openat.c .Reviewed by: kib@, ngie
Add basic ATF tests for Capability mode .. lookupsA follow-up to r309887.Several tests copied verbatim fromhttps://github.com/emaste/snippets/blob/master/test_openat.c .Reviewed by: kib@, ngie@ (earlier version)X-MFC-With: r309887Sponsored by: Dell EMC IsilonDifferential Revision: https://reviews.freebsd.org/D8748
Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedafter r298107Summary of changes:- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that na
Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedafter r298107Summary 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 examplesso it's clear that ${PACKAGES}FILES is the suggested way forward in terms ofreplacing FILES. share/mk/bsd.README didn't seem like the appropriate methodof communicating that info.MFC after: never probablyX-MFC with: r298107PR: 209114Relnotes: yesTested with: buildworld, installworld, checkworld; buildworld, packageworldSponsored by: EMC / Isilon Storage Division
DIRDEPS_BUILD: Connect MK_TESTS.Sponsored by: EMC / Isilon Storage Division
Avoid adding the '-release' suffix to non-debug kernel packages.Sponsored by: The FreeBSD Foundation
Integrate tools/regression/vfs into the FreeBSD test suite as tests/sys/vfsMFC after: 1 weekSponsored by: EMC / Isilon Storage Division