summaryrefslogtreecommitdiff
path: root/lib/livepatch/test_klp_state3.c
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2019-10-30 16:43:13 +0100
committerPetr Mladek <pmladek@suse.com>2019-11-01 13:08:29 +0100
commitecd25094c5f5d5af12dffd3a4f2f4a42e486cdd8 (patch)
tree41cb3130ac1daccc5ec5fa4a4095bfa24a77a2fe /lib/livepatch/test_klp_state3.c
parente553d2a53d47853b3f1780fd65f8259672daabed (diff)
livepatch: Selftests of the API for tracking system state changes
Four selftests for the new API. Link: http://lkml.kernel.org/r/20191030154313.13263-6-pmladek@suse.com To: Jiri Kosina <jikos@kernel.org> Cc: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> Cc: Nicolai Stange <nstange@suse.de> Cc: live-patching@vger.kernel.org Cc: linux-kernel@vger.kernel.org Acked-by: Miroslav Benes <mbenes@suse.cz> Acked-by: Joe Lawrence <joe.lawrence@redhat.com> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'lib/livepatch/test_klp_state3.c')
-rw-r--r--lib/livepatch/test_klp_state3.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/livepatch/test_klp_state3.c b/lib/livepatch/test_klp_state3.c
new file mode 100644
index 000000000000..9226579d10c5
--- /dev/null
+++ b/lib/livepatch/test_klp_state3.c
@@ -0,0 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+// Copyright (C) 2019 SUSE
+
+/* The console loglevel fix is the same in the next cumulative patch. */
+#include "test_klp_state2.c"