#
75c3ca1e |
| 23-Aug-2022 |
Kyle Evans <kevans@FreeBSD.org> |
split: add some tests
This should cover all of the basic functionality, as well as the recent enhancement to use a dynamic buffer size rather than limiting patterns and lines to MAXBSIZE.
Reviewed
split: add some tests
This should cover all of the basic functionality, as well as the recent enhancement to use a dynamic buffer size rather than limiting patterns and lines to MAXBSIZE.
Reviewed by: bapt Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D36324
show more ...
|
#
19a847e5 |
| 29-Sep-2022 |
Mark Johnston <markj@FreeBSD.org> |
kinst: Add a rudimentary regression test case
The test instruments a number of large, frequently called kernel functions while generating load in the background.
MFC after: 3 months
|
#
7ccdad90 |
| 25-Aug-2022 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
renice: add unit tests.
Sponsored by: Klara, Inc.
|
#
e7437ae9 |
| 07-Jul-2022 |
Mateusz Piotrowski <0mp@FreeBSD.org> |
rc: Start testing the rc(8) framework (beginning with *_oomprotect)
This change adds 2 tests to make sure that the *_oomprotect variable sets the protection against OOM killer properly within rc(8)
rc: Start testing the rc(8) framework (beginning with *_oomprotect)
This change adds 2 tests to make sure that the *_oomprotect variable sets the protection against OOM killer properly within rc(8) scripts.
This is also adding the first tests for the rc(8) framework. More tests will be added as we go.
PR: 256148 Approved by: des MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D35745
show more ...
|
#
067acae2 |
| 25-Apr-2022 |
Kristof Provost <kp@FreeBSD.org> |
if_ovpn tests: basic test case
Set up an OpenVPN tunnel between two jails, send traffic through them to confirm basic function.
Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Re
if_ovpn tests: basic test case
Set up an OpenVPN tunnel between two jails, send traffic through them to confirm basic function.
Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D35067
show more ...
|
#
924226fb |
| 26-Jun-2022 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
testing: move atf-pytest-wrapper to /usr/libexec
Move pytest wrapper to the collection of the other atf wrappers in libexec. It solves the problem of combining bits & pieces from bsd.test.mk and b
testing: move atf-pytest-wrapper to /usr/libexec
Move pytest wrapper to the collection of the other atf wrappers in libexec. It solves the problem of combining bits & pieces from bsd.test.mk and bgs.prog.mk to address "test binary, but not the suite binary".
Reviewed by: kp Differential Revision: https://reviews.freebsd.org/D35604 MFC after: 2 weeks
show more ...
|
#
9a75209d |
| 25-Jun-2022 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
routing: add tests/sys/net/routing to mtree
MFC after: 2 weeks
|
#
47bcbde9 |
| 17-Apr-2022 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
bintrans: move files to a new directory
And reflect the change in various places.
|
#
4cd4841a |
| 05-Apr-2022 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
Modularize uuencode and uudecode by wrapping them in bintrans.c
The program will be installed as bintrans, uuencode, uudecode, b64encode, and b64decode and will be responsible for running the coders
Modularize uuencode and uudecode by wrapping them in bintrans.c
The program will be installed as bintrans, uuencode, uudecode, b64encode, and b64decode and will be responsible for running the coders according to their historical behavior.
Additionally, bintrans will be able to take a parameter designating the coder and accept all its options in this form: bintrans <coder> [options] and the behavior should be the same as if <coder> [options] was invoked. This has the advantage that adding coders won't require installing them as binaries.
Move uudecode files to uuencode since the latter is the one that provides the manual page.
Reviewed by: delphij (previous version) Differential Revision: https://reviews.freebsd.org/D32943
show more ...
|
#
10aa3670 |
| 15-Apr-2022 |
Mark Johnston <markj@FreeBSD.org> |
etc/mtree: Remove tabs
|
#
d0f245d2 |
| 15-Apr-2022 |
Mark Johnston <markj@FreeBSD.org> |
libsysdecode: Add regression tests for sysdecode_cap_rights(3)
Reviewed by: jhb, emaste MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D349
libsysdecode: Add regression tests for sysdecode_cap_rights(3)
Reviewed by: jhb, emaste MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34900
show more ...
|
#
1581ec9a |
| 16-Feb-2022 |
Eric van Gyzen <vangyzen@FreeBSD.org> |
Integrate contrib/file/tests with kyua/atf
This could be done better by making each test a separate ATF test case. This exercise is left for the reader.
Reviewed by: delphij (earlier version) MFC a
Integrate contrib/file/tests with kyua/atf
This could be done better by making each test a separate ATF test case. This exercise is left for the reader.
Reviewed by: delphij (earlier version) MFC after: 1 week Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D34303
show more ...
|
#
4e712582 |
| 31-Jan-2022 |
Eric van Gyzen <vangyzen@FreeBSD.org> |
newfs_msdos: connect the ATF test from NetBSD
NetBSD has an ATF test for newfs_msdos. Connect it to the build. Adapt it for FreeBSD. This would have caught the bug fixed by my previous commit.
Re
newfs_msdos: connect the ATF test from NetBSD
NetBSD has an ATF test for newfs_msdos. Connect it to the build. Adapt it for FreeBSD. This would have caught the bug fixed by my previous commit.
Reviewed by: delphij, emaste MFC after: 1 week Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D34116
show more ...
|
Revision tags: release/12.3.0 |
|
#
517e52b6 |
| 04-Nov-2021 |
Warner Losh <imp@FreeBSD.org> |
awk: Move to using two sets of tests
Upstream one-true-awk has two sets of tests. These are in addition to NetBSD's tests we're using. The 'bugs-fixed' tests from upstream are ready to use as-is (mo
awk: Move to using two sets of tests
Upstream one-true-awk has two sets of tests. These are in addition to NetBSD's tests we're using. The 'bugs-fixed' tests from upstream are ready to use as-is (more or less). However, the 'tests' from upstream are not, so for now we'll just use the netbsd and bugs-fixed tests. They provide an OK workout and are better than nothing, though the tests themselves are for specific esoteric things.
The upstream bugs-fixed tests are *ALMOST* a drop in. However, 3 test for errors and the upstream test jig mashes stdout and stderr together, which atf doesn't do, so make a tiny tweak to the upstream tests that I hope to upstream. Plus upstream has ../a.out: instead of awk: in the output. Not sure how to deal with this yet, so I've not proposed anything upstream and have changed the test locally.
In addition, the system-status.awk test is not suitable to run in ATF. It wants to force sh to dump core, but kyua doesn't seem to allow that sometimes so the test will fail or pass based on whether or not a core dump can be created. Since it's unstable, remove it.
This required moving the netbsd tests to a new direcotry, so update mtree files as well. The change is useless for 'make check' without it.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D31376
show more ...
|
#
f8e50dd2 |
| 22-Aug-2021 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
Register /usr/tests/usr.bin/diff3
I wasn't able to make check to run diff3 tests, but kevans figured out that I was missing diff3 in mtree.
|
#
a8540490 |
| 18-Aug-2021 |
Cyril Zhang <cyril@freebsdfoundation.org> |
vmm: Add credential to cdev object
Add a credential to the cdev object in sysctl_vmm_create(), then check that we have the correct credentials in sysctl_vmm_destroy(). This prevents a process in one
vmm: Add credential to cdev object
Add a credential to the cdev object in sysctl_vmm_create(), then check that we have the correct credentials in sysctl_vmm_destroy(). This prevents a process in one jail from opening or destroying the /dev/vmm file corresponding to a VM in a sibling jail.
Add regression tests.
Reviewed by: jhb, markj MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D31156
show more ...
|
#
cb194afe |
| 25-Jun-2021 |
Li-Wen Hsu <lwhsu@FreeBSD.org> |
sbin/md5: Create /usr/tests/sbin/md5 directory for placing tests
Sponsored by: The FreeBSD Foundation
|
#
186ba88a |
| 13-May-2021 |
Mark Johnston <markj@FreeBSD.org> |
sort: Hook NetBSD tests up to the build
MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
Revision tags: release/13.0.0 |
|
#
3b57d80c |
| 17-Mar-2021 |
Alan Somers <asomers@FreeBSD.org> |
daemon: add some basic tests
MFC after: 2 weeks Sponsored by: Axcient Differential Revision: https://reviews.freebsd.org/D29316
|
#
066a8c69 |
| 21-Dec-2020 |
Emmanuel Vadot <manu@freebsd.org> |
pkgbase: Install atf and kyua in the tests package
While here make sure that all tests dirs are taggued correctly.
Reviewed by: bapt, emaste Differential Revision: https://reviews.freebsd.org/D27714
|
#
a70c318d |
| 08-Dec-2020 |
Nick Hibma <n_hibma@FreeBSD.org> |
Missed adding netgraph to mtree in r368443:
New Netgraph module ng_macfilter:
Macfilter to route packets through different hooks based on sender MAC address.
Based on ng_macfilter written by Pe
Missed adding netgraph to mtree in r368443:
New Netgraph module ng_macfilter:
Macfilter to route packets through different hooks based on sender MAC address.
Based on ng_macfilter written by Pekka Nikander
Sponsered by Retina b.v.
Reviewed by: afedorov MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D27268
show more ...
|
#
fa004e43 |
| 08-Dec-2020 |
Nick Hibma <n_hibma@FreeBSD.org> |
Fix indenting for netmap.
|
#
3cde9171 |
| 26-Nov-2020 |
Alan Somers <asomers@FreeBSD.org> |
Merge ping6 to ping
There is now a single ping binary, which chooses to use ICMP or ICMPv4 based on the -4 and -6 options, and the format of the address.
Submitted by: Ján Sučan <sucanjan@gmail.com
Merge ping6 to ping
There is now a single ping binary, which chooses to use ICMP or ICMPv4 based on the -4 and -6 options, and the format of the address.
Submitted by: Ján Sučan <sucanjan@gmail.com> Sponsored by: Google LLC (Google Summer of Code 2019) MFC after: Never Differential Revision: https://reviews.freebsd.org/D21377
show more ...
|
Revision tags: release/12.2.0 |
|
#
5028ea32 |
| 23-Sep-2020 |
Kyle Evans <kevans@FreeBSD.org> |
cp: add some basic tests
There are some tests available in the NetBSD test suite, but we don't currently pass all of those; further investigation will go into that. For now, just add a basic test as
cp: add some basic tests
There are some tests available in the NetBSD test suite, but we don't currently pass all of those; further investigation will go into that. For now, just add a basic test as well as a test that copies from /dev/null to a file.
The /dev/null test confirms that the file gets created if it's empty, then that it truncates the file if it's non-empty. This matches some usage that was previously employed in the build and was replaced in r366042 by a simpler shell construct.
I will also plan on coming back to expand these in due time.
MFC after: 1 week
show more ...
|
#
440cec3f |
| 12-Aug-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|