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@debian.org
Tested-by: Simon Horman horms@kernel.org Reviewed-by: Simon Horman horms@kernel.org