Fix ls_tests:o_flag with ZFS TMPDIRUnlike UFS or TMPFS, ZFS sets uarch automatically whenever a file isupdated. The test must explicitly clear uarch to be portable acrossfilesystems. Also, it doe
Fix ls_tests:o_flag with ZFS TMPDIRUnlike UFS or TMPFS, ZFS sets uarch automatically whenever a file isupdated. The test must explicitly clear uarch to be portable acrossfilesystems. Also, it doesn't need to run as root.PR: 215179MFC after: 4 weeksSponsored by: Spectra Logic CorpDifferential Revision: https://reviews.freebsd.org/D8741
show more ...
Skip ls tests that use sparse files if these are not supported.Some of the ls(1) tests create really large sparse files to validatethe number formatting features of ls(1). Unfortunately, those te
Skip ls tests that use sparse files if these are not supported.Some of the ls(1) tests create really large sparse files to validatethe number formatting features of ls(1). Unfortunately, those tests failif the underlying test file system does not support sparse files, as is thecase when /tmp is mounted on tmpfs.Before running these tests, check if the test file system supports sparsefiles by using getconf(1) and skip them if not. Note that the support forthis query was just added to getconf(1) in r304694.Reviewed by: ngieDifferential Revision: https://reviews.freebsd.org/D7609
Use require.progs with bc instead of require.files with /usr/bin/bcThis will make things more flexible if the program path changes in the future,and the test in and of itself doesn't call /usr/bin
Use require.progs with bc instead of require.files with /usr/bin/bcThis will make things more flexible if the program path changes in the future,and the test in and of itself doesn't call /usr/bin/bc -- it just calls bcMFC after: 1 weekSponsored by: EMC / Isilon Storage Division
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
Enable bin/ls testcases disabled previously because of issues with howkyua 0.11's version of report-junit was rendering non-printable charactersUpgrade to kyua 0.12 to obtain a fixed version of th
Enable bin/ls testcases disabled previously because of issues with howkyua 0.11's version of report-junit was rendering non-printable charactersUpgrade to kyua 0.12 to obtain a fixed version of the commandOutput verified with python 2.7.10's xml.dom.minidom moduleMFC after: 3 daysSponsored by: EMC / Isilon Storage Division
Update ls -l tests to use mtime, not birthtimePR: 204155Reviewed by: ngie, rodrigcSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D4040
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andnetbsd-tests.test.mk (r289151)- Eliminate explicit OBJTOP/SRCTOP setting- Convert all ad hoc NetBSD test integration
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andnetbsd-tests.test.mk (r289151)- Eliminate explicit OBJTOP/SRCTOP setting- Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk- Remove unnecessary TESTSDIR setting- Use SRCTOP where possible for clarityMFC after: 2 weeksSponsored by: EMC / Isilon Storage Divison
Remove all of the syncsThey're unnecessary as shown by further testing on my VMRequested by: jhb
Call sync consistently using atf_checkRemove superfluous sync's
Explicitly set BLOCKSIZE to 512 in the environment
Add some more syncs to quiesce the filesystem after creating thefiles to see if this fixes deterministic Jenkin failures
Merge additional testcases and improvements to bin/ls/ls_tests from^/user/ngie/more-tests.- Additional testcases added:-- ls -D-- ls -F-- ls -H-- ls -L-- ls -R-- ls -S-- ls -T-- ls -b-- l
Merge additional testcases and improvements to bin/ls/ls_tests from^/user/ngie/more-tests.- Additional testcases added:-- ls -D-- ls -F-- ls -H-- ls -L-- ls -R-- ls -S-- ls -T-- ls -b-- ls -d-- ls -f-- ls -g-- ls -h-- ls -i-- ls -k-- ls -l-- ls -m-- ls -n-- ls -o-- ls -p-- ls -q/ls -w-- ls -r-- ls -s-- ls -t-- ls -u-- ls -y- Socket file creation is limited to the ls -F testcase, greatly speeding up the test process- The ls -C testcase was made more robust by limiting the number of columns via COLUMNS and by dynamically formulating the columns/lines.- Add `atf_test_case` before all testcase `head` functions.X-MFC with: r284388, r288330, r288423MFC after: 2 weeksSponsored by: EMC / Isilon Storage Division
Skip the B_flag testcase to stop blowing up freebsd-current@ with"test failure emails" because kyua report-jenkins doesn't properlyescape non-printable chars
Add initial testcases for bin/lsMFC after: 1 weekSponsored by: EMC / Isilon Storage Division