<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests, branch release/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2022-03-09T16:59:49Z</updated>
<entry>
<title>fusefs: fix a cached attributes bug during directory rename</title>
<updated>2022-03-09T16:59:49Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2022-02-22T05:00:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=79ec7ebf88ef86ffbb89ddb84ba2881b2f318529'/>
<id>urn:sha1:79ec7ebf88ef86ffbb89ddb84ba2881b2f318529</id>
<content type='text'>
When renaming a directory into a different parent directory, invalidate
the cached attributes of the new parent.  Otherwise, stat will show the
wrong st_nlink value.

Reviewed by:	ngie
Differential Revision: https://reviews.freebsd.org/D34336

(cherry picked from commit e8553be9bcfc2c0d78e9f379bd166dc0a9cae719)
</content>
</entry>
<entry>
<title>zfs: Update test format strings to match variable typtes</title>
<updated>2022-03-08T00:33:21Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2022-02-28T01:11:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=71f452d58c7aa4625816015eec153718021b5db4'/>
<id>urn:sha1:71f452d58c7aa4625816015eec153718021b5db4</id>
<content type='text'>
And drop stray 'd' from the end of some printed numbers.  I assume this
was the result of someone thinking u is a printf length modifier for d,
not a format specifier itself.

Reviewed by:	kevans, rew
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D34387

(cherry picked from commit f27fb06cadc6a8e75ebebd3b60c8a9dc9ae1b833)
</content>
</entry>
<entry>
<title>tests: Fix the test plan for closefrom_test</title>
<updated>2022-03-07T12:15:47Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-03-06T17:56:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=45014f965ece4f7b6afea254badfd99b2bae143f'/>
<id>urn:sha1:45014f965ece4f7b6afea254badfd99b2bae143f</id>
<content type='text'>
Fixes:	f3f3e3c44d3b ("fd: add close_range(..., CLOSE_RANGE_CLOEXEC)")
Reported by:	Jenkins

(cherry picked from commit 3a01dcc99ff9044bbd46386a48ed870838cfb555)
</content>
</entry>
<entry>
<title>fd: add close_range(..., CLOSE_RANGE_CLOEXEC)</title>
<updated>2022-03-07T12:15:47Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2022-03-03T12:45:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=88919794940543d0b6743a035a44a51b9d8ff5d8'/>
<id>urn:sha1:88919794940543d0b6743a035a44a51b9d8ff5d8</id>
<content type='text'>
For compatibility with Linux.

MFC after:	3 days
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D34424

(cherry picked from commit f3f3e3c44d3b1776653bbf19eab17ce006a815d8)
</content>
</entry>
<entry>
<title>mmap map_at_zero test: handle W^X</title>
<updated>2022-03-03T14:20:07Z</updated>
<author>
<name>Arka Sharma</name>
<email>arka_sharma@dell.com</email>
</author>
<published>2022-02-18T15:34:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6a73d96ac4def6ba03788ed0914aa994c037778a'/>
<id>urn:sha1:6a73d96ac4def6ba03788ed0914aa994c037778a</id>
<content type='text'>
Use kern.elfXX.allow_wx to decide whether to map W+X or W-only memory.

Future work could expand this test to add an "allow_wx" axis to the
test matrix, but I would argue that a separate test should be written,
since that's orthogonal to map_at_zero.

MFC after:	1 week
Sponsored by:	Dell EMC Isilon

(cherry picked from commit 766c2466ff465b3c7c1a46be729b42a6da47de03)
</content>
</entry>
<entry>
<title>[skip ci] fusefs: delete a stray comment from 91972cfcddf</title>
<updated>2022-03-02T23:37:25Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2022-02-12T16:27:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=837e2f537c743efa1b38d752c5a93f8bf05dc4d1'/>
<id>urn:sha1:837e2f537c743efa1b38d752c5a93f8bf05dc4d1</id>
<content type='text'>
(cherry picked from commit 0b6a34acda4245215df29be35e4ef4bba995ec91)
</content>
</entry>
<entry>
<title>aio_md_test: label the md</title>
<updated>2022-03-02T21:56:30Z</updated>
<author>
<name>Eric van Gyzen</name>
<email>vangyzen@FreeBSD.org</email>
</author>
<published>2021-07-23T13:57:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=656de74c635f83880aa70490d95b0a304e582d48'/>
<id>urn:sha1:656de74c635f83880aa70490d95b0a304e582d48</id>
<content type='text'>
Add a label to md devices created by this test.  The next time this
test leaks md devices, finding the culprit will be much easier.

Thanks to:	sobomax, for adding labels in r322969
MFC after:	1 week
Sponsored by:	Dell EMC Isilon

(cherry picked from commit 9666cda9764a1d19cbf967940508dc6d2020cbfb)
</content>
</entry>
<entry>
<title>aio_md_test: NUL-terminate result of readlink</title>
<updated>2022-03-02T21:56:30Z</updated>
<author>
<name>Eric van Gyzen</name>
<email>vangyzen@FreeBSD.org</email>
</author>
<published>2021-07-23T13:49:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ac20fa249f129b5c1eb65d378baf4f954dd03bc9'/>
<id>urn:sha1:ac20fa249f129b5c1eb65d378baf4f954dd03bc9</id>
<content type='text'>
readlink does not NUL-terminate the output buffer.  This led to spurious
failures to destroy the md device because the unit number was garbage.
NUL-terminate the output buffer.

Reported by:	ASLR
MFC after:	1 week
Sponsored by:	Dell EMC Isilon

(cherry picked from commit ea0e1b19f232331bffa75a0a64a6859c40f1cc4d)
</content>
</entry>
<entry>
<title>aio_md_test: fix cleanup</title>
<updated>2022-03-02T21:56:30Z</updated>
<author>
<name>Eric van Gyzen</name>
<email>vangyzen@FreeBSD.org</email>
</author>
<published>2021-07-23T13:24:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=77f0c44e49ba8aec89b65d095122c47d93930d0f'/>
<id>urn:sha1:77f0c44e49ba8aec89b65d095122c47d93930d0f</id>
<content type='text'>
ATF cleanup functions cannot use functions such as ATF_REQUIRE
and atf_tc_fail.  These functions assert that a test case is
currently running, which is not true during cleanup, so the
process aborts.  Change the cleanup function to simply print
to stderr and return.

MFC after:	1 week
Sponsored by:	Dell EMC Isilon

(cherry picked from commit c6f92e64b6140f9e095b41687ff09ff973c28e14)
</content>
</entry>
<entry>
<title>pf tests: Test per-anchor tables</title>
<updated>2022-02-28T15:38:05Z</updated>
<author>
<name>Kristof Provost</name>
<email>kp@FreeBSD.org</email>
</author>
<published>2022-02-17T13:13:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e41b30c849ed9cb5b6c6a9afbd7c37c0d2dcb7bf'/>
<id>urn:sha1:e41b30c849ed9cb5b6c6a9afbd7c37c0d2dcb7bf</id>
<content type='text'>
MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 7d3fc84b2d3eb18b675200dbf7732ef41eb79fe2)
</content>
</entry>
</feed>
