Subject: Re: [PATCH net-next v2 00/10] tools: ynl: convert samples into selftests

From: Donald Hunter <[email-masked]>
Date: Sun, 08 Mar 2026 17:23:47 +0000

Jakub Kicinski <[email-masked]> writes:

> The "samples" were always poor man's tests, used to manually
> confirm that C YNL works as expected. Since a proper tests/
> directory now exists move the samples and use the kselftest
> harness to turn them into selftests outputting KTAP.
>
> v2:
>  - add missing ASSERTs on allocation failures
>  - fix the exec in the bash wrappers preventing cleanup
> v1: https://lore.kernel.org/[email-masked]
>
> Jakub Kicinski (10):
>   tools: ynl: move samples to tests
>   tools: ynl: convert netdev sample to selftest
>   tools: ynl: convert ovs sample to selftest
>   tools: ynl: convert rt-link sample to selftest
>   tools: ynl: convert tc and tc-filter-add samples to selftest
>   tools: ynl: add netdevsim wrapper library for YNL tests
>   tools: ynl: convert devlink sample to selftest
>   tools: ynl: convert ethtool sample to selftest
>   tools: ynl: convert rt-addr sample to selftest
>   tools: ynl: convert rt-route sample to selftest

Series LGTM

Reviewed-by: Donald Hunter <[email-masked]>
Tested-by: Donald Hunter <[email-masked]>