summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kexec/Makefile
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.ibm.com>2019-01-24 08:57:20 -0500
committerShuah Khan <skhan@linuxfoundation.org>2019-04-17 15:32:02 -0600
commit5025b0f0fa25a0b71ae7ada96b18b6b63c24302f (patch)
treedbce97c120395501cab762e242bbab18f818caa2 /tools/testing/selftests/kexec/Makefile
parent89eba7db8ebf25f654b853776c09eb34129f2d19 (diff)
downloadlinux-5025b0f0fa25a0b71ae7ada96b18b6b63c24302f.tar.bz2
selftests/kexec: define a set of common functions
Define, update and move get_secureboot_mode() to a common file for use by other tests. Updated to check both the efivar SecureBoot-$(UUID) and SetupMode-$(UUID), based on Dave Young's review. Signed-off-by: Mimi Zohar <zohar@linux.ibm.com> Reviewed-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/kexec/Makefile')
-rw-r--r--tools/testing/selftests/kexec/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/kexec/Makefile b/tools/testing/selftests/kexec/Makefile
index 0b3adf5444b6..1a795861040b 100644
--- a/tools/testing/selftests/kexec/Makefile
+++ b/tools/testing/selftests/kexec/Makefile
@@ -5,6 +5,7 @@ ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
ifeq ($(ARCH),x86)
TEST_PROGS := test_kexec_load.sh
+TEST_FILES := kexec_common_lib.sh
include ../lib.mk