<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests/sys/Makefile, branch releng/14.1</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.1</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.1'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-16T17:55:03Z</updated>
<entry>
<title>Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-16T17:55:03Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf'/>
<id>urn:sha1:d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</content>
</entry>
<entry>
<title>tests: Don't recurse into sys/compat32</title>
<updated>2023-05-16T01:06:34Z</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2023-05-16T01:06:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=816129210ad4f951059db2d942b8213ffe0a0f89'/>
<id>urn:sha1:816129210ad4f951059db2d942b8213ffe0a0f89</id>
<content type='text'>
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 &lt;mack@macktronics.com&gt;
Fixes:		28f66935d400 ("tests: Disable sys/compat32 and sys/compat32/aarch64 tests")
</content>
</entry>
<entry>
<title>arm64: add tests for swp/swpb emulation</title>
<updated>2023-05-15T15:42:16Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2023-05-15T15:42:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ccb59683b98360afaf5b5bb641a68fea22c68d0b'/>
<id>urn:sha1:ccb59683b98360afaf5b5bb641a68fea22c68d0b</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>netlink: connect netlink tests to the build</title>
<updated>2022-12-16T12:02:50Z</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=3873bdc2f28f6aab6b426ccb6c85ab2a41483264'/>
<id>urn:sha1:3873bdc2f28f6aab6b426ccb6c85ab2a41483264</id>
<content type='text'>
Reviewed By: ngie
Differential Revision: https://reviews.freebsd.org/D37708
</content>
</entry>
<entry>
<title>Add tests for ses(4)</title>
<updated>2022-01-19T19:43:51Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2021-08-27T20:38:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=eea7c61590ae8968b3f1f609cf0bc8633222a94f'/>
<id>urn:sha1:eea7c61590ae8968b3f1f609cf0bc8633222a94f</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>vmm: Add credential to cdev object</title>
<updated>2021-08-18T17:41:33Z</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=a85404906bc8f402318524b4ccd196712fc09fbd'/>
<id>urn:sha1:a85404906bc8f402318524b4ccd196712fc09fbd</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
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D31156
</content>
</entry>
<entry>
<title>Skip netgraph tests when WITHOUT_NETGRAPH is set</title>
<updated>2021-07-06T13:45:34Z</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=c9144ec14d2a5a53cfe91ada1b3b9c06b78dc999'/>
<id>urn:sha1:c9144ec14d2a5a53cfe91ada1b3b9c06b78dc999</id>
<content type='text'>
PR:		256986
Reported by:	John Marshall
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
</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>
</feed>
