selftests/livepatch: add sysfs test

Add a test for livepatch sysfs entries.

Signed-off-by: Song Liu <song@kernel.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20220902205208.3117798-3-song@kernel.org
This commit is contained in:
Song Liu
2022-09-02 13:52:08 -07:00
committed by Petr Mladek
parent bb26cfd9e7
commit ff1b80ec84
3 changed files with 122 additions and 1 deletions

View File

@@ -6,7 +6,8 @@ TEST_PROGS := \
test-callbacks.sh \
test-shadow-vars.sh \
test-state.sh \
test-ftrace.sh
test-ftrace.sh \
test-sysfs.sh
TEST_FILES := settings