<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/contrib/atf/atf-sh, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>atf, kyua: Implement require.kmods.</title>
<updated>2025-05-31T12:27:30+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-05-31T12:27:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=83a1ee578c9d1ab7013e997289c7cd470c0e6902'/>
<id>83a1ee578c9d1ab7013e997289c7cd470c0e6902</id>
<content type='text'>
This adds a metadata variable, require.kmods, and corresponding functions
or methods in C, C++, and shell, which allow a test to specify that it
requires particular kernel modules to run.  If the kernel modules are not
present, the test is skipped.  One might want to consider a kyua option
which makes it attempt to load the modules instead.

Differential Revision:	https://reviews.freebsd.org/D47470
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a metadata variable, require.kmods, and corresponding functions
or methods in C, C++, and shell, which allow a test to specify that it
requires particular kernel modules to run.  If the kernel modules are not
present, the test is skipped.  One might want to consider a kyua option
which makes it attempt to load the modules instead.

Differential Revision:	https://reviews.freebsd.org/D47470
</pre>
</div>
</content>
</entry>
<entry>
<title>atf: Don't be deterred by weird umasks.</title>
<updated>2025-05-24T10:03:39+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-05-24T10:03:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1a6a36a98ad5dc86862541b91686b00cf88e9f76'/>
<id>1a6a36a98ad5dc86862541b91686b00cf88e9f76</id>
<content type='text'>
If the current umask is weird, ATF goes to great lengths to tell us that
it can't possibly work in these conditions, instead of just dealing with
it.  This makes it unreasonably hard to use ATF to test how our own code
handles unusual umasks.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	igoro, kevans, ngie
Differential Revision:	https://reviews.freebsd.org/D50267
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the current umask is weird, ATF goes to great lengths to tell us that
it can't possibly work in these conditions, instead of just dealing with
it.  This makes it unreasonably hard to use ATF to test how our own code
handles unusual umasks.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	igoro, kevans, ngie
Differential Revision:	https://reviews.freebsd.org/D50267
</pre>
</div>
</content>
</entry>
<entry>
<title>atf: Switch from std::auto_ptr&lt;&gt; to std::unique_ptr&lt;&gt;</title>
<updated>2025-04-16T14:10:35+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-04-16T14:10:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5e6befdaca5194a8fb91b48d5f678942f22fa8f1'/>
<id>5e6befdaca5194a8fb91b48d5f678942f22fa8f1</id>
<content type='text'>
This mirrors upstream commit f053ab687f6e27aa264f599ecbfc5ef27ad4e2d3.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D49789
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This mirrors upstream commit f053ab687f6e27aa264f599ecbfc5ef27ad4e2d3.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D49789
</pre>
</div>
</content>
</entry>
<entry>
<title>atf-sh: fix comment typo</title>
<updated>2023-12-26T23:24:42+00:00</updated>
<author>
<name>Igor Ostapenko</name>
<email>pm@igoro.pro</email>
</author>
<published>2023-12-26T23:21:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d4d14d965fb92d2bceb744be41310dc47f27ab80'/>
<id>d4d14d965fb92d2bceb744be41310dc47f27ab80</id>
<content type='text'>
Signed-off-by: Igor Ostapenko &lt;pm@igoro.pro&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/895
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Igor Ostapenko &lt;pm@igoro.pro&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/895
</pre>
</div>
</content>
</entry>
<entry>
<title>Import atf 0.22 snapshot 55c21b2c5fb189bbdfccb2b297bfa89236502542</title>
<updated>2021-09-10T23:08:42+00:00</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2021-09-10T23:08:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=71a1ae7cebd3791d4d18ac9620a7a4ce8cf15819'/>
<id>71a1ae7cebd3791d4d18ac9620a7a4ce8cf15819</id>
<content type='text'>
The main improvement is the ability to skip a test that is expected to
fail.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The main improvement is the ability to skip a test that is expected to
fail.
</pre>
</div>
</content>
</entry>
<entry>
<title>Import atf 0.22 snapshot ca73d08c3fc1ecffc1f1c97458c31ab82c12bb01</title>
<updated>2021-02-04T15:03:05+00:00</updated>
<author>
<name>Alex Richardson</name>
<email>arichardson@FreeBSD.org</email>
</author>
<published>2021-02-04T14:48:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c203bd70b5957f85616424b6fa374479372d06e3'/>
<id>c203bd70b5957f85616424b6fa374479372d06e3</id>
<content type='text'>
This includes improvements to the atf-sh helper functions that
significantly reduce the number of spawned processes for each test
and therefore speeds up running the testsuite noticeably.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This includes improvements to the atf-sh helper functions that
significantly reduce the number of spawned processes for each test
and therefore speeds up running the testsuite noticeably.
</pre>
</div>
</content>
</entry>
<entry>
<title>atf-sh(3): document atf_init_test_cases(3) fully</title>
<updated>2017-06-30T05:49:12+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-06-30T05:49:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4fb696d630c32af4c53cab3c8c609b916c21ba5e'/>
<id>4fb696d630c32af4c53cab3c8c609b916c21ba5e</id>
<content type='text'>
The function was missing from the NAME/SYNOPSIS sections. Add a manpage link
to complete the documentation reference.

MFC after:	1 month
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function was missing from the NAME/SYNOPSIS sections. Add a manpage link
to complete the documentation reference.

MFC after:	1 month
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove *-api(3) manpages removed in ATF 0.21</title>
<updated>2017-03-06T22:18:14+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-03-06T22:18:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=de5e156be6b6b775b69f1be120df3eacaa4d3389'/>
<id>de5e156be6b6b775b69f1be120df3eacaa4d3389</id>
<content type='text'>
I overlooked the fact that these manpages had been removed upstream
and replaced with their non *-api(3) equivalents. Follow upstream's
lead and remove the unused manpages.

MFC after:	1 week
Sponsored by:	Dell EMC Isilon
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I overlooked the fact that these manpages had been removed upstream
and replaced with their non *-api(3) equivalents. Follow upstream's
lead and remove the unused manpages.

MFC after:	1 week
Sponsored by:	Dell EMC Isilon
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix issues with atf-check(1) found by igor and refer to atf-check(1)</title>
<updated>2017-03-06T21:39:57+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-03-06T21:39:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=459f307b4a5cb754e0c718463c1a6508acd330be'/>
<id>459f307b4a5cb754e0c718463c1a6508acd330be</id>
<content type='text'>
- Fix typo (specifiying -&gt; specifying)
- Add atf-check(1) to SEE ALSO section for completeness. It's mentioned
  above, but by convention the SEE ALSO section should list all relevant
  references to other tools and APIs.

Bump .Dd for the change

MFC after:	1 week
Sponsored by:	Dell EMC Isilon
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Fix typo (specifiying -&gt; specifying)
- Add atf-check(1) to SEE ALSO section for completeness. It's mentioned
  above, but by convention the SEE ALSO section should list all relevant
  references to other tools and APIs.

Bump .Dd for the change

MFC after:	1 week
Sponsored by:	Dell EMC Isilon
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix manlint issues with atf-check(1)</title>
<updated>2017-03-06T21:35:33+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-03-06T21:35:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ed20d3f52f5e02caad178df718abe6feee2324c9'/>
<id>ed20d3f52f5e02caad178df718abe6feee2324c9</id>
<content type='text'>
- Use `.Bf Em`/`.Ef` instead of prefixing lines with `.Em`. The forms
  are equivalent with traditional roff, but unnecessarily verbose. The
  former form applies the .Em macro to the enclosed block.
- Move EXIT_STATUS section down so the section complies with section
  ordering specified by mdoc(7) and enforced by manlint(1).

Bump .Dd for the change

MFC after:	1 week
Sponsored by:	Dell EMC Isilon
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use `.Bf Em`/`.Ef` instead of prefixing lines with `.Em`. The forms
  are equivalent with traditional roff, but unnecessarily verbose. The
  former form applies the .Em macro to the enclosed block.
- Move EXIT_STATUS section down so the section complies with section
  ordering specified by mdoc(7) and enforced by manlint(1).

Bump .Dd for the change

MFC after:	1 week
Sponsored by:	Dell EMC Isilon
</pre>
</div>
</content>
</entry>
</feed>
