Re: [PATCH] selftests: pidfd: declare pidfd_poll_test TAP plan

From: Christian Brauner

Date: Wed Dec 02 2026 - 03:27:14 EST


On Mon, 23 Nov 2026 16:01:27 +0100, Ezra George wrote:
> pidfd_poll_test.c uses the low-level kselftest.h helpers, but does not
> call ksft_print_header() or ksft_set_plan(1) before reporting its result.
>
> This produces incomplete TAP output and a plan mismatch:
>
> # Planned tests != run tests (0 != 1)
>
> [...]

I picked this up. If you're up for it, you can convert the selftests to the
kselftest harness framework.

---

Applied to the vfs-7.5.pidfd branch of the vfs/vfs.git tree.
Patches in the vfs-7.5.pidfd branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.5.pidfd

[1/1] selftests: pidfd: declare pidfd_poll_test TAP plan
https://git.kernel.org/vfs/vfs/c/b6d5c8e3317f