selftests/livepatch: add sysfs test
authorSong Liu <song@kernel.org>
Fri, 2 Sep 2022 20:52:08 +0000 (13:52 -0700)
committerPetr Mladek <pmladek@suse.com>
Fri, 23 Sep 2022 14:06:38 +0000 (16:06 +0200)
commitff1b80ec841562b374083335f68f4de0c7f46ab4
tree0a1e7c6ec4727ee1d0f40162cd85108dae0e66d4
parentbb26cfd9e77e8dadd4be2ca154017bde9326cd4b
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
tools/testing/selftests/livepatch/Makefile
tools/testing/selftests/livepatch/functions.sh
tools/testing/selftests/livepatch/test-sysfs.sh [new file with mode: 0755]