Re: [PATCH net-next 2/4] netconsole: selftest: Split the helpers from the selftest

From: Simon Horman
Date: Fri Dec 06 2024 - 10:12:26 EST


On Wed, Dec 04, 2024 at 08:40:43AM -0800, Breno Leitao wrote:
> Split helper functions from the netconsole basic test into a separate
> library file to enable reuse across different netconsole tests. This
> change only moves the existing helper functions to lib/sh/lib_netcons.sh
> while preserving the same test functionality.
>
> The helpers provide common functions for:
> - Setting up network namespaces and interfaces
> - Managing netconsole dynamic targets
> - Setting user data
> - Handling test dependencies
> - Cleanup operations
>
> Do not make any change in the code, other than the mechanical
> separation.
>
> Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>

Tested-by: Simon Horman <horms@xxxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>