<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/bin/pwait/tests, branch stable/14</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F14</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F14'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-10-30T10:38:18Z</updated>
<entry>
<title>pwait: Add an option to print remaining processes</title>
<updated>2025-10-30T10:38:18Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-10-28T11:56:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cacba7a15e35857da7adece3bc3cf1a3a2679b9c'/>
<id>urn:sha1:cacba7a15e35857da7adece3bc3cf1a3a2679b9c</id>
<content type='text'>
* On startup, insert all valid PIDs into a tree.
* In our main loop, whenever a process terminates, remove its PID
  from the tree.
* On exit, if the -p flag was specified, print the remaining PIDs.

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

(cherry picked from commit 3d73146baeb933fe955c7496572b483a9f92914c)
</content>
</entry>
<entry>
<title>pwait tests: Fix some exit annotations</title>
<updated>2025-05-02T16:14:35Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-04-18T15:35:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=03f0c1b181930c46d1839f20953a0168683fe9d4'/>
<id>urn:sha1:03f0c1b181930c46d1839f20953a0168683fe9d4</id>
<content type='text'>
A number of tests rely on timeout(1) to kill a pwait instance, and with
--preserve-status the corresponding exit status is propagated to
atf_check.  Update the checks to reflect this.

MFC after:	2 weeks

(cherry picked from commit 987ef153c28878c3968420663f6061d6e70540a8)
</content>
</entry>
<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>Implement tests for the newly added -o flag.</title>
<updated>2020-01-26T11:03:45Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2020-01-26T11:03:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dee496fc37873c18f33eaf7d12ee0b085179cadd'/>
<id>urn:sha1:dee496fc37873c18f33eaf7d12ee0b085179cadd</id>
<content type='text'>
Sponsored by:	Fudo Security
</content>
</entry>
<entry>
<title>Rename some tests to end in _test.</title>
<updated>2017-03-09T04:20:00Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2017-03-09T04:20:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d11bfd6fb88d2a62fc8993133ae81c6ce5cc2a22'/>
<id>urn:sha1:d11bfd6fb88d2a62fc8993133ae81c6ce5cc2a22</id>
<content type='text'>
Requested by:	ngie
MFC after:	2 weeks
X-MFC-With:	r314886
</content>
</entry>
<entry>
<title>Remove unneeded -x from tests.</title>
<updated>2017-03-09T04:19:52Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2017-03-09T04:19:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0be7e2c09c2032cb0a0facebb19778644c24ef1c'/>
<id>urn:sha1:0be7e2c09c2032cb0a0facebb19778644c24ef1c</id>
<content type='text'>
Reported by:	ngie
MFC after:	2 weeks
X-MFC-With:	r314886
</content>
</entry>
<entry>
<title>pwait: Add a -t flag to specify a timeout before exiting, and tests.</title>
<updated>2017-03-07T22:16:55Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2017-03-07T22:16:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b06b52baac41c3a6b7c0a30552c4776154f412c9'/>
<id>urn:sha1:b06b52baac41c3a6b7c0a30552c4776154f412c9</id>
<content type='text'>
The exit status will be 124, as the timeout(1) utility uses.

Reviewed by:	jilles
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D9697
</content>
</entry>
</feed>
