]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: livepatch: Test atomic replace against multiple modules
authorMarcos Paulo de Souza <mpdesouza@suse.com>
Mon, 3 Jun 2024 17:26:19 +0000 (14:26 -0300)
committerPetr Mladek <pmladek@suse.com>
Tue, 18 Jun 2024 08:48:52 +0000 (10:48 +0200)
commit61894818e3049e8b3864fecf52164b125bd77aae
treefe57f28217243a77ca4f06d7d5f014206870f9ba
parent46edf5d7aed5438078a8b4b1ab4230a41a032dd0
selftests: livepatch: Test atomic replace against multiple modules

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>
Acked-by: Joe Lawrence <joe.lawrence@redhat.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Link: https://lore.kernel.org/r/20240603-lp-atomic-replace-v3-1-9f3b8ace5c9f@suse.com
[mbenes@suse.cz: Fixed typo in a comment.]
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
tools/testing/selftests/livepatch/test-livepatch.sh