[Bug 301350] bin/pkill/pkill-j_test: tests is not concurrency safe
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 301350] bin/pkill/pkill-j_test: tests are not concurrency safe"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 03 Dec 2026 15:58:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301350
--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=93f8c45c0314e1a78eb2f19074659d0f3efb2f3b
commit 93f8c45c0314e1a78eb2f19074659d0f3efb2f3b
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-12-03 15:50:10 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-12-03 15:57:14 +0000
pkill: Convert pgrep / pkill -j tests to ATF
The pgrep / pkill tests predate ATF and are not particularly robust.
Convert two of them to ATF as a proof of concept. Hopefully someone
will be inspired to continue the conversion; the converted tests are
parallelizable, much faster, and more robust than the originals.
PR: 301350
Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D62288
bin/pkill/tests/Makefile | 4 +-
bin/pkill/tests/pgrep-j_test.sh | 291 ++++++++++++++++++++++--------------
bin/pkill/tests/pkill-j_test.sh | 324 +++++++++++++++++++++++++---------------
3 files changed, 389 insertions(+), 230 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.