<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests/sys, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-04-07T14:58:32Z</updated>
<entry>
<title>pf tests: explicitly test zeroing counters within an anchor</title>
<updated>2026-04-07T14:58:32Z</updated>
<author>
<name>Kristof Provost</name>
<email>kp@FreeBSD.org</email>
</author>
<published>2026-04-07T14:07:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6642ba36f1860599a4c5562dc24f5dff080bbb42'/>
<id>urn:sha1:6642ba36f1860599a4c5562dc24f5dff080bbb42</id>
<content type='text'>
While here fix the match pattern in the existing test.

Sponsored by:	Rubicon Communications, LLC ("Netgate")
</content>
</entry>
<entry>
<title>tests: Add some simple regression tests for ip_mroute</title>
<updated>2026-03-30T16:08:21Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2026-03-30T13:32:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=09e702ad40af0067017613070b42d72cbc2bec3a'/>
<id>urn:sha1:09e702ad40af0067017613070b42d72cbc2bec3a</id>
<content type='text'>
These use atf_python to create a number of hosts linked to a router.
The router runs pimd (for IPv4) or ip6_mrouter (simplistic IPv6
multicast router that I wrote since I couldn't find one in the ports
tree).  The vnet_host*_handler() methods are invoked in different VNET
jails connected to the router; they register the connected epair with a
multicast group and verify that they can send messages to each other.

The tests are synchronized by sending messages over a unix domain
socket.  The flow is something like:
1) test startup_method() is called, the unix socket is created,
2) the superclass creates jails and links them together using the
   declared topology,
3) we wait for all child jails to start up and send a message on the
   unix socket indicating that they are ready
4) we start the routing daemon in the main jail,
5) the test actually starts; starttest() kicks off the
   vnet_host*_handlers(), which mostly just verify that they can send
   messages to each other using multicast packets
6) once they finish running, they signal their completion, and
   waittest() returns once they're all done

There are two tests, repeated for v4 and v6.  One just exchanges packets
between two hosts, and the other has four hosts divided across two FIBs.

MFC after:	2 weeks
Sponsored by:	Stormshield
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D55244
</content>
</entry>
<entry>
<title>routing: Retire ROUTE_MPATH compile option</title>
<updated>2026-03-27T20:25:33Z</updated>
<author>
<name>Pouria Mousavizadeh Tehrani</name>
<email>pouria@FreeBSD.org</email>
</author>
<published>2026-03-27T11:20:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=254b23eb1f540844cf2a90f2781ae4231c5701ce'/>
<id>urn:sha1:254b23eb1f540844cf2a90f2781ae4231c5701ce</id>
<content type='text'>
The ROUTE_MPATH compile option was introduced to
test the new multipath implementation.
Since compiling it has no overhead and it's enabled
by default, remove it.

Reviewed by:	melifaro, markj
Relnotes:	yes
Differential Revision: https://reviews.freebsd.org/D55884
</content>
</entry>
<entry>
<title>tests: Add grand link-layer event in netinet6/ndp</title>
<updated>2026-03-27T20:25:30Z</updated>
<author>
<name>Pouria Mousavizadeh Tehrani</name>
<email>pouria@FreeBSD.org</email>
</author>
<published>2026-03-18T22:48:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2371b24c22f063ef79dc1935419c9854656e265e'/>
<id>urn:sha1:2371b24c22f063ef79dc1935419c9854656e265e</id>
<content type='text'>
Add test for ndp to verity link-layer address change event
actually triggers the grand.

Differential Revision: https://reviews.freebsd.org/D55927
</content>
</entry>
<entry>
<title>tests/netlink: Bugfix on snl_parse_errmsg_capped test</title>
<updated>2026-03-27T12:01:06Z</updated>
<author>
<name>K Rin</name>
<email>rin@sandb0x.tw</email>
</author>
<published>2025-04-12T05:41:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=18ce9e2dd0e062583080da624499927e8df8eaf3'/>
<id>urn:sha1:18ce9e2dd0e062583080da624499927e8df8eaf3</id>
<content type='text'>
Turn off the NETLINK_EXT_ACK flag to fix bug of snl_parse_errmsg_capped.

Reviewed by:	pouria
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1660
</content>
</entry>
<entry>
<title>timerfd: Guard expected performance failure</title>
<updated>2026-03-26T16:47:32Z</updated>
<author>
<name>Jake Freeland</name>
<email>jfree@FreeBSD.org</email>
</author>
<published>2026-03-26T16:40:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4b16ff49bf4bf875997fe4c80a0afc0d440b7aac'/>
<id>urn:sha1:4b16ff49bf4bf875997fe4c80a0afc0d440b7aac</id>
<content type='text'>
During the timerfd__periodic_timer_performance test, only expect
failures when the expiration count is less than 400000000. This
prevents the test from being reported as a true failure in environments
where scheduling latency is high enough to delay timerfd wakeups.

Fixes:		cb692380f1e0 ("timerfd: Expect periodic timer ...")
MFC after:	1 week
</content>
</entry>
<entry>
<title>timerfd: Expect periodic timer performance failures</title>
<updated>2026-03-26T00:22:55Z</updated>
<author>
<name>Jake Freeland</name>
<email>jfree@FreeBSD.org</email>
</author>
<published>2026-03-25T22:57:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cb692380f1e05ffc4184877844e93051f24ed302'/>
<id>urn:sha1:cb692380f1e05ffc4184877844e93051f24ed302</id>
<content type='text'>
The current timerfd implementation fails to correctly count events on a
nanosecond callout interval. The timerfd__periodic_timer_performance
test detects this and reports failure.

Mark this test as an expected failure so it isn't flagged by CI. A link
to the bug report is attached to the test for reference.

While we're here, clean up some minor style and Make issues.

Fixes:		834c1ba793d9 ("timerfd: Add tests")
MFC after:	1 week
</content>
</entry>
<entry>
<title>tests/netinet: add raw:reconnect test</title>
<updated>2026-03-25T19:58:28Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2026-03-25T18:53:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f6989880841b89d54ebcd5d12195c40a23627646'/>
<id>urn:sha1:f6989880841b89d54ebcd5d12195c40a23627646</id>
<content type='text'>
It tests repetitive connect(2) on AF_INET/SOCK_RAW including connect(2)
to INADDR_ANY that puts socket back into receive-all mode.
</content>
</entry>
<entry>
<title>ipfw: skip tests if required sysctl is not set</title>
<updated>2026-03-25T15:55:57Z</updated>
<author>
<name>Olivier Cochard</name>
<email>olivier@FreeBSD.org</email>
</author>
<published>2026-03-25T15:47:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=648d0fefd7573080b01d44cad8c39ad658f8e44f'/>
<id>urn:sha1:648d0fefd7573080b01d44cad8c39ad658f8e44f</id>
<content type='text'>
Since this is a configuration prerequisite rather than a test failure, use
atf_skip instead.

Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D56069
</content>
</entry>
<entry>
<title>tests/netinet: add test for getsockname() on a disconnected TCP socket</title>
<updated>2026-03-24T21:24:58Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2026-03-24T20:51:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cd05c88058b5b3684f0d7f3086afa21a944d9cd1'/>
<id>urn:sha1:cd05c88058b5b3684f0d7f3086afa21a944d9cd1</id>
<content type='text'>
Stack it into existing file that exercises an other corner case of our
TCP and rename the file to a more generic name.
</content>
</entry>
</feed>
