[PATCH v3 6/9] test/vdev: find device with public API
Stephen Hemminger
stephen at networkplumber.org
Mon Sep 21 18:39:22 CEST 2026
On Mon, 21 Sep 2026 13:47:33 +0200
David Marchand <david.marchand at redhat.com> wrote:
> Checking internal API has little sense as users are not supposed to call
> those.
> Use public API to achieve similar coverage.
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
Patch 6/9 (test/vdev: find device with public API)
Info:
- get_matching_vdev("") and get_matching_vdev(NULL) previously
verified "match any vdev" behaviour with an empty/NULL match
string. find_vdev_by_name() has no equivalent case, so that
behaviour is no longer exercised.
More information about the dev
mailing list