#
4285e024 |
| 09-Dec-2024 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
strptime: Fix day-of-week calculation.
The day-of-week calculation used the raw year value without adjusting for TM_YEAR_BASE, so it was off by one for 300 years out of every 400; it just happened t
strptime: Fix day-of-week calculation.
The day-of-week calculation used the raw year value without adjusting for TM_YEAR_BASE, so it was off by one for 300 years out of every 400; it just happened to be correct for 1901 through 2000. It also used a loop where a simple addition would have sufficed.
While here, simplify our version of Gauss's algorithm, and document that we assume the Gregorian calendar.
MFC after: 1 week PR: 282916 Reviewed by: imp, allanjude, philip Differential Revision: https://reviews.freebsd.org/D47977
show more ...
|
Revision tags: release/14.2.0 |
|
#
f08dfd81 |
| 27-Nov-2024 |
Jose Luis Duran <jlduran@FreeBSD.org> |
mtree: Add missing entries in BSD.tests.dist
Reviewed by: emaste, christos Approved by: emaste (mentor) Fixes: 95eb4b873b6a ("sound tests: Add sndstat nvlist ATF test") MFC after: 1 week Differentia
mtree: Add missing entries in BSD.tests.dist
Reviewed by: emaste, christos Approved by: emaste (mentor) Fixes: 95eb4b873b6a ("sound tests: Add sndstat nvlist ATF test") MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D47724
show more ...
|
#
4b8e65d1 |
| 24-Nov-2024 |
Jose Luis Duran <jlduran@FreeBSD.org> |
mtree: Fix BSD.tests.dist sorting
Reviewed by: imp Approved by: emaste (mentor) Fixes: 60d717baf214 ("ctl: add some ATF tests for READ BUFFER") MFC after: 1 week Differential Revision: https://revie
mtree: Fix BSD.tests.dist sorting
Reviewed by: imp Approved by: emaste (mentor) Fixes: 60d717baf214 ("ctl: add some ATF tests for READ BUFFER") MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D47719
show more ...
|
#
73465bb4 |
| 25-Nov-2024 |
Mark Johnston <markj@FreeBSD.org> |
savecore: Add a livedump regression test
MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D47715
|
#
aa308b49 |
| 25-Nov-2024 |
Stefan Eßer <se@FreeBSD.org> |
mtree/BSD.tests.dist: remove entry for OpenBSD dc command
The OpenBSD derived dc program has been removed in commit 8ea6c11540, but the creation of a directory for tests of this program had not been
mtree/BSD.tests.dist: remove entry for OpenBSD dc command
The OpenBSD derived dc program has been removed in commit 8ea6c11540, but the creation of a directory for tests of this program had not been disabled in that commit.
Reported by: kevans
show more ...
|
#
096c39fa |
| 21-Oct-2024 |
Kyle Evans <kevans@FreeBSD.org> |
tests: kern: add some porch(1)-based tty tests
If sysutils/porch is installed, we'll do some basic testing of tty behavior. The existing tests primarily cover ICANON-related processing and corner c
tests: kern: add some porch(1)-based tty tests
If sysutils/porch is installed, we'll do some basic testing of tty behavior. The existing tests primarily cover ICANON-related processing and corner cases that have been fixed somewhat recently, but I anticipate growing this out a bit in due time.
Reviewed by: ngie Differential Revision: https://reviews.freebsd.org/D46806
show more ...
|
#
334af5e4 |
| 07-Oct-2024 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
env: Add a handful of test cases.
MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D46996
|
Revision tags: release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0, release/13.2.0, release/12.4.0, release/13.1.0 |
|
#
e0c51286 |
| 08-Mar-2022 |
Kyle Evans <kevans@FreeBSD.org> |
libmd: split tests out into the test infrastructure
Make us a little less reliant on individuals running the tests, we'll start running them as part of CI.
PR: 280784 (exp-run) Reviewed by: delphi
libmd: split tests out into the test infrastructure
Make us a little less reliant on individuals running the tests, we'll start running them as part of CI.
PR: 280784 (exp-run) Reviewed by: delphij Differential Revision: https://reviews.freebsd.org/D34500
show more ...
|
#
60d717ba |
| 04-Sep-2024 |
Alan Somers <asomers@FreeBSD.org> |
ctl: add some ATF tests for READ BUFFER
Reviewed by: Pierre Pronchery <pierre@freebsdfoundation.org> Reviewed by: jhb MFC after: 2 weeks Sponsored by: Axcient
|
#
1c8a45b5 |
| 27-Jul-2024 |
Jose Luis Duran <jlduran@gmail.com> |
mtree: Fix the sort order in BSD.tests.dist
Reviewed by: imp, emaste Pull Request: https://github.com/freebsd/freebsd-src/pull/1351
|
#
21e98f6d |
| 27-Jul-2024 |
Li-Wen Hsu <lwhsu@FreeBSD.org> |
BSD.tests.dist: Add entry for mixer tests
Fixes: 94a86f3f6920 mixer(8): Add tests Sponsored by: The FreeBSD Foundation
|
#
020d003c |
| 13-Jul-2024 |
Kyle Evans <kevans@FreeBSD.org> |
libc: tests: add testing infrastructure for _FORTIFY_SOURCE
The _FORTIFY_SOURCE tests will be generated by a lua script to avoid a lot of redundancy in writing these tests. For each function that w
libc: tests: add testing infrastructure for _FORTIFY_SOURCE
The _FORTIFY_SOURCE tests will be generated by a lua script to avoid a lot of redundancy in writing these tests. For each function that we're fortifying, the plan is to test at least the following three scenarios:
- Writing up to one byte before the end of the buffer, - Writing up to the end of the buffer, - Writing one byte past the end of the buffer
The buffer is shoved into a struct on the stack to guarantee a stack layout in which we have a valid byte after the buffer so that level 2 fortification will trip and we can have confidence that it wasn't some other stack/memory protection instead.
The generated tests are divided roughly into which header we're attributing them to so that we can parallelize the build -- the full set is a bit over 9000 lines of C and takes 11s to build on the hardware that I'm testing on if it's a single monolothic file.
Reviewed by: markj Sponsored by: Klara, Inc. Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D45678
show more ...
|
#
0f409d26 |
| 10-Jun-2024 |
Ryan Libby <rlibby@FreeBSD.org> |
BSD.tests.dist: add entry for virstor test
Reviewed by: markj Fixes: 7affbeeab1c9 virstor: basic functional test Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D45
BSD.tests.dist: add entry for virstor test
Reviewed by: markj Fixes: 7affbeeab1c9 virstor: basic functional test Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D45551
show more ...
|
#
81ef0a89 |
| 10-Jun-2024 |
Alan Somers <asomers@FreeBSD.org> |
Fix mtree entry for ctladm tests
MFC after: 2 weeks MFC with: 9747d11d91642cb9b81602d88e8aebeb388543c7 Sponsored by: Axcient
|
#
9747d11d |
| 05-Jun-2024 |
Alan Somers <asomers@FreeBSD.org> |
Add some ATF tests for ctladm
So far only "ctladm port -c" and "ctladm port -r" are covered.
MFC after: 2 weeks Sponsored by: Axcient Reviewed by: mav Pull Request: https://github.com/freebsd/freeb
Add some ATF tests for ctladm
So far only "ctladm port -c" and "ctladm port -r" are covered.
MFC after: 2 weeks Sponsored by: Axcient Reviewed by: mav Pull Request: https://github.com/freebsd/freebsd-src/pull/1279
show more ...
|
#
02d98d18 |
| 20-May-2024 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
libdiff: Add a test for the truncation issue.
Sponsored by: Klara, Inc. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D45218
|
#
74a4aa9b |
| 27-Mar-2024 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
touch: Add unit tests.
MFC after: 1 week Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D44505
|
#
c051f22b |
| 15-Mar-2024 |
Baptiste Daroussin <bapt@FreeBSD.org> |
mtree: add the directory for the nuageinit tests
|
#
96da41b6 |
| 28-Feb-2024 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
lorder: Add unit tests.
MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D44134
|
#
73974a78 |
| 17-Jan-2024 |
Lin Lee <leelin2602@gmail.com> |
hostname(1): Add test cases
Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-src/pull/1069
|
#
2acd158d |
| 23-Jan-2024 |
Dimitry Andric <dim@FreeBSD.org> |
mtree: stop creating old mixer(8) test directories
The tests themselves were added to ObsoleteFiles.inc in commit f7c4f4964971, but not yet removed from BSD.tests.dist.
PR: 274602 Fixes: f7c4f496
mtree: stop creating old mixer(8) test directories
The tests themselves were added to ObsoleteFiles.inc in commit f7c4f4964971, but not yet removed from BSD.tests.dist.
PR: 274602 Fixes: f7c4f4964971
show more ...
|
#
93f27766 |
| 03-Jan-2024 |
Domagoj Stolfa <domagoj.stolfa@gmail.com> |
dtrace: Add the 'oformat' libdtrace option
This option can be used to specify a format to use in DTrace output. The following formats are supported: - json - xml - html - none (default DTrace ou
dtrace: Add the 'oformat' libdtrace option
This option can be used to specify a format to use in DTrace output. The following formats are supported: - json - xml - html - none (default DTrace output)
This is implemented using libxo and integrated into libdtrace. Client code only works with the following API:
- dtrace_oformat_setup(dtrace_hdl_t *) -- to be called when output is starting. - dtrace_oformat_teardown(dtrace_hdl_t *) -- to be called when output is finished - dtrace_oformat(dtrace_hdl_t *) -- check if oformat is enabled. - dtrace_set_outfp(FILE *) -- sets the output file for oformat. - Ensure that oformat is correctly checked in the drop handler and record processing callbacks.
This commit also adds tests which check if the generated output is valid (JSON, XML) and extends the dtrace(1) describing the structured output.
Reviewed by: markj Discussed with: phil MFC after: 2 months Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D41745
show more ...
|
#
b8856bd2 |
| 28-Dec-2023 |
Jose Luis Duran <jlduran@gmail.com> |
mtree: Add missing directories to BSD.tests.dist
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/912
|
#
b8e385d3 |
| 28-Dec-2023 |
Jose Luis Duran <jlduran@gmail.com> |
mtree: Sort BSD.tests.dist
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/912
|
#
d9c543b6 |
| 01-Dec-2023 |
Kyle Evans <kevans@FreeBSD.org> |
rtld: add a test for RTLD_DEEPBIND
This tests that with RTLD_DEEPBIND, symbols are looked up in all of the object's needed objects before the global object.
PR: 275393 Reviewed by: kib Sponsored b
rtld: add a test for RTLD_DEEPBIND
This tests that with RTLD_DEEPBIND, symbols are looked up in all of the object's needed objects before the global object.
PR: 275393 Reviewed by: kib Sponsored by: NetApp, Inc. Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D42843
show more ...
|