<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests/sys/Makefile, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F13</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F13'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-09-04T15:52:50Z</updated>
<entry>
<title>ctl: add some ATF tests for READ BUFFER</title>
<updated>2024-09-04T15:52:50Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2024-09-04T14:38:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=62935fd269f343b85100cc25b0695c0dd548b9c3'/>
<id>urn:sha1:62935fd269f343b85100cc25b0695c0dd548b9c3</id>
<content type='text'>
Reviewed by:	Pierre Pronchery &lt;pierre@freebsdfoundation.org&gt;
Reviewed by:	jhb
MFC after:	2 weeks
Sponsored by:	Axcient

(cherry picked from commit 60d717baf2144cf344ec9b47d715ce837b5d46d4)
(cherry picked from commit e9329a869c8137b955b2b3487ac0dadabf540bda)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-23T17:43:30Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:32:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=023fc80ee38a117fa65b2ccb2abf8bdc7dbd6fd9'/>
<id>urn:sha1:023fc80ee38a117fa65b2ccb2abf8bdc7dbd6fd9</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

Similar commit in main:
(cherry picked from commit d0b2dbfa0ecf)
</content>
</entry>
<entry>
<title>netlink: connect netlink tests to the build</title>
<updated>2023-01-23T22:04:03Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2022-12-16T12:02:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=65f065ec7131db4028ed37d951d94d905298bc31'/>
<id>urn:sha1:65f065ec7131db4028ed37d951d94d905298bc31</id>
<content type='text'>
Reviewed By: ngie
Differential Revision: https://reviews.freebsd.org/D37708

(cherry picked from commit 3873bdc2f28f6aab6b426ccb6c85ab2a41483264)
</content>
</entry>
<entry>
<title>vmm: Add credential to cdev object</title>
<updated>2021-09-01T13:07:42Z</updated>
<author>
<name>Cyril Zhang</name>
<email>cyril@freebsdfoundation.org</email>
</author>
<published>2021-08-18T17:41:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2d4c599e7d6a1890bd4794d8b3d43d8e182b42d4'/>
<id>urn:sha1:2d4c599e7d6a1890bd4794d8b3d43d8e182b42d4</id>
<content type='text'>
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
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit a85404906bc8f402318524b4ccd196712fc09fbd)
</content>
</entry>
<entry>
<title>Skip netgraph tests when WITHOUT_NETGRAPH is set</title>
<updated>2021-07-13T00:27:19Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2021-07-06T13:44:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ae2e05423dfff64cdfcf6263de6e62ef49dec6a0'/>
<id>urn:sha1:ae2e05423dfff64cdfcf6263de6e62ef49dec6a0</id>
<content type='text'>
PR:		256986
Reported by:	John Marshall
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit c9144ec14d2a5a53cfe91ada1b3b9c06b78dc999)
</content>
</entry>
<entry>
<title>New Netgraph module ng_macfilter:</title>
<updated>2020-12-08T15:09:42Z</updated>
<author>
<name>Nick Hibma</name>
<email>n_hibma@FreeBSD.org</email>
</author>
<published>2020-12-08T15:09:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e8db04c38959c882fe17e7c2b26fbabe74f26311'/>
<id>urn:sha1:e8db04c38959c882fe17e7c2b26fbabe74f26311</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>tests: Enable net tests</title>
<updated>2020-02-13T14:09:09Z</updated>
<author>
<name>Kristof Provost</name>
<email>kp@FreeBSD.org</email>
</author>
<published>2020-02-13T14:09:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=475b483aeef96d8bf47159f06761104d92c58c8c'/>
<id>urn:sha1:475b483aeef96d8bf47159f06761104d92c58c8c</id>
<content type='text'>
We have a number of tests in the net subdirectory that were not executed. List
the net directory so we run those tests.
</content>
</entry>
<entry>
<title>frag6: import a set of test cases</title>
<updated>2019-10-21T09:33:45Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2019-10-21T09:33:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f74e6e494f48b76f357d43d3672cca3606ffac04'/>
<id>urn:sha1:f74e6e494f48b76f357d43d3672cca3606ffac04</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>random(4): Add regression tests for uint128 implementation, Chacha CTR</title>
<updated>2019-06-17T14:59:45Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2019-06-17T14:59:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=403c041316da859b91c048b5daeea61bc366e92f'/>
<id>urn:sha1:403c041316da859b91c048b5daeea61bc366e92f</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>tests: Move common (vnet) test functions into a common file</title>
<updated>2019-03-04T18:15:06Z</updated>
<author>
<name>Kristof Provost</name>
<email>kp@FreeBSD.org</email>
</author>
<published>2019-03-04T18:15:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=06aac31aecb6028d346abc6b6cd54f58c12a1a32'/>
<id>urn:sha1:06aac31aecb6028d346abc6b6cd54f58c12a1a32</id>
<content type='text'>
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
</content>
</entry>
</feed>
