Re: [PATCH v3] selftests: livepatch: Test atomic replace against multiple modules

From: Miroslav Benes
Date: Fri Jun 07 2024 - 04:26:48 EST


On Mon, 3 Jun 2024, Marcos Paulo de Souza wrote:

> Adapt the current test-livepatch.sh script to account the number of
> applied livepatches and ensure that an atomic replace livepatch disables
> all previously applied livepatches.
>
> Signed-off-by: Marcos Paulo de Souza <mpdesouza@xxxxxxxx>
> ---
> Changes since v2:
> * Used variables to stop the name of other livepatches applied to test
> the atomic replace. (Joe)
>
> Changes since v1:
> * Added checks in the existing test-livepatch.sh instead of creating a
> new test file. (Joe)
> * Fixed issues reported by ShellCheck (Joe)
> ---
> Changes in v3:
> - EDITME: describe what is new in this series revision.
> - EDITME: use bulletpoints and terse descriptions.
> - Link to v2: https://lore.kernel.org/r/20240525-lp-atomic-replace-v2-1-142199bb65a1@xxxxxxxx
> ---
> .../testing/selftests/livepatch/test-livepatch.sh | 138 +++++++++++++--------
> 1 file changed, 89 insertions(+), 49 deletions(-)

with 's/addtional/additional/' pointed out by Joe

Reviewed-by: Miroslav Benes <mbenes@xxxxxxx>

M