| #
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
|
| #
95eb4b87 |
| 27-Jul-2024 |
Christos Margiolis <christos@FreeBSD.org> |
sound tests: Add sndstat nvlist ATF test
Sponsored by: The FreeBSD Foundation MFC after: 2 days Reviewed by: dev_submerge.ch, markj Differential Revision: https://reviews.freebsd.org/D45901
|
| #
e9ac4169 |
| 15-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Remove residual blank line at start of Makefile
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
|
|
Revision tags: release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
81612921 |
| 16-May-2023 |
Jessica Clarke <jrtc27@FreeBSD.org> |
tests: Don't recurse into sys/compat32
Stubbing out the whole file means it has no targets, so recursive makes fail with "don't know how to make X". We could fix that, but because the level above is
tests: Don't recurse into sys/compat32
Stubbing out the whole file means it has no targets, so recursive makes fail with "don't know how to make X". We could fix that, but because the level above is adding it to TESTS_SUBDIRS it'll generate an include line for the subdirectory in its Kyuafile, which won't work (the problem that was previously seen on non-aarch64 in CI). Thus we really need to not even add it to TESTS_SUBDIRS in the first place.
Reported by: Dan Mack <mack@macktronics.com> Fixes: 28f66935d400 ("tests: Disable sys/compat32 and sys/compat32/aarch64 tests")
show more ...
|
| #
ccb59683 |
| 15-May-2023 |
Kyle Evans <kevans@FreeBSD.org> |
arm64: add tests for swp/swpb emulation
One test is suitable to be hooked up to the build, so I've done this here. The other test lives in tools/regression because failure is a bit more subjective
arm64: add tests for swp/swpb emulation
One test is suitable to be hooked up to the build, so I've done this here. The other test lives in tools/regression because failure is a bit more subjective -- generally, one runs it for some unbounded amount of time and observe if it eventually exits because two threads acquired the same mutex.
Reviewed by: imp, mmel Sponsored by: Stormshield Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D39668
show more ...
|
|
Revision tags: release/13.2.0 |
|
| #
3873bdc2 |
| 16-Dec-2022 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
netlink: connect netlink tests to the build
Reviewed By: ngie Differential Revision: https://reviews.freebsd.org/D37708
|
|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0 |
|
| #
eea7c615 |
| 27-Aug-2021 |
Alan Somers <asomers@FreeBSD.org> |
Add tests for ses(4)
The tests require SES hardware. Without it, the test cases will be skipped.
Reviewed by: ken Differential Revision: https://reviews.freebsd.org/D31809 Sponsored by: Axcient MF
Add tests for ses(4)
The tests require SES hardware. Without it, the test cases will be skipped.
Reviewed by: ken Differential Revision: https://reviews.freebsd.org/D31809 Sponsored by: Axcient MFC after: 2 weeks
show more ...
|
| #
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 ...
|
| #
c9144ec1 |
| 06-Jul-2021 |
Ed Maste <emaste@FreeBSD.org> |
Skip netgraph tests when WITHOUT_NETGRAPH is set
PR: 256986 Reported by: John Marshall MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
|
Revision tags: release/13.0.0 |
|
| #
e8db04c3 |
| 08-Dec-2020 |
Nick Hibma <n_hibma@FreeBSD.org> |
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
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 ...
|
|
Revision tags: release/12.2.0, release/11.4.0 |
|
| #
74dc6beb |
| 14-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r357855 through r357920.
|
| #
475b483a |
| 13-Feb-2020 |
Kristof Provost <kp@FreeBSD.org> |
tests: Enable net tests
We have a number of tests in the net subdirectory that were not executed. List the net directory so we run those tests.
|
|
Revision tags: release/12.1.0 |
|
| #
f74e6e49 |
| 21-Oct-2019 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
frag6: import a set of test cases
In order to ensure that changing the frag6 code does not change behaviour or break code a set of test cases were implemented.
Like some other test cases these use
frag6: import a set of test cases
In order to ensure that changing the frag6 code does not change behaviour or break code a set of test cases were implemented.
Like some other test cases these use Scapy to generate packets and possibly wait for expected answers. In most cases we do check the global and per interface (netstat) statistics output using the libxo output and grep to validate fields and numbers. This is a bit hackish but we currently have no better way to match a selected number of stats only (we have to ignore some of the ND6 variables; otherwise we could use the entire list).
Test cases include atomic fragments, single fragments, multi-fragments, and try to cover most error cases in the code currently. In addition vnet teardown is tested to not panic.
A separate set (not in-tree currently) of probes were used in order to make sure that the test cases actually test what they should.
The "sniffer" code was copied and adjusted from the netpfil version as we sometimes will not get packets or have longer timeouts to deal with.
Sponsored by: Netflix
show more ...
|
|
Revision tags: release/11.3.0 |
|
| #
e532a999 |
| 20-Jun-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @349234
Sponsored by: The FreeBSD Foundation
|
| #
403c0413 |
| 17-Jun-2019 |
Conrad Meyer <cem@FreeBSD.org> |
random(4): Add regression tests for uint128 implementation, Chacha CTR
Add some basic regression tests to verify behavior of both uint128 implementations at typical boundary conditions, to run on al
random(4): Add regression tests for uint128 implementation, Chacha CTR
Add some basic regression tests to verify behavior of both uint128 implementations at typical boundary conditions, to run on all architectures.
Test uint128 increment behavior of Chacha in keystream mode, as used by 'kern.random.use_chacha20_cipher=1' (r344913) to verify assumptions at edge cases. These assumptions are critical to the safety of using Chacha as a PRF in Fortuna (as implemented).
(Chacha's use in arc4random is safe regardless of these tests, as it is limited to far less than 4 billion blocks of output in that API.)
Reviewed by: markm Approved by: secteam(gordon) Differential Revision: https://reviews.freebsd.org/D20392
show more ...
|
| #
2aaf9152 |
| 18-Mar-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead@r345275
|
| #
b18a4cca |
| 05-Mar-2019 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r344786
|
| #
844fc3e9 |
| 04-Mar-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r344549 through r344775.
|
| #
06aac31a |
| 04-Mar-2019 |
Kristof Provost <kp@FreeBSD.org> |
tests: Move common (vnet) test functions into a common file
The netipsec and pf tests have a number of common test functions. These used to be duplicated, but it makes more sense for them to re-use
tests: Move common (vnet) test functions into a common file
The netipsec and pf tests have a number of common test functions. These used to be duplicated, but it makes more sense for them to re-use the common functions.
PR: 236223
show more ...
|
| #
2a8682a8 |
| 31-Dec-2018 |
Vincenzo Maffione <vmaffione@FreeBSD.org> |
netmap: add suite of unit tests
Import the unit tests from upstream (https://github.com/luigirizzo/netmap ba02539859d46d33), and make them ready for use with Kyua. There are currently 38 regression
netmap: add suite of unit tests
Import the unit tests from upstream (https://github.com/luigirizzo/netmap ba02539859d46d33), and make them ready for use with Kyua. There are currently 38 regression tests, which test the kernel control ABI exposed by netmap to userspace applications:
1: test for port info get 2-5: tests for basic port registration 6-9: tests for VALE 10-11: tests for getting netmap allocator info 12-15: tests for netmap pipes 16: test on polling mode 17-18: tests on options 19-27: tests for sync-kloop subsystem 28-39: tests for null ports 31-38: tests for the legacy NIOCREGIF registers
Reviewed by: ngie MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D18490
show more ...
|
| #
b1ce931b |
| 17-Dec-2018 |
Alan Somers <asomers@FreeBSD.org> |
Conditionalize installtion audit(4) tests on MK_AUDIT
MK_AUDIT already controls auditd(8), praudit(1), etc. It should also control the audit test suite.
Submitted by: ngie MFC after: 2 weeks Pull
Conditionalize installtion audit(4) tests on MK_AUDIT
MK_AUDIT already controls auditd(8), praudit(1), etc. It should also control the audit test suite.
Submitted by: ngie MFC after: 2 weeks Pull Request: https://github.com/freebsd/freebsd/pull/240
show more ...
|
|
Revision tags: release/12.0.0 |
|
| #
14b841d4 |
| 11-Aug-2018 |
Kyle Evans <kevans@FreeBSD.org> |
MFH @ r337607, in preparation for boarding
|
| #
3468bf40 |
| 26-Jul-2018 |
Alan Somers <asomers@FreeBSD.org> |
Introduce test program for auditpipe(4)
Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D16395
|
|
Revision tags: release/11.2.0 |
|
| #
e5569cb6 |
| 30-May-2018 |
Alan Somers <asomers@FreeBSD.org> |
Revert r334362
Reconnect tests/sys/audit now that the GCC issue is fixed by 334388
MFC after: 2 weeks X-MFC-With: 334362, 334360, 334388
|