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@suse.com
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@suse....
.../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@suse.cz
M