]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/kexec: make kexec_load test independent of IMA being enabled
authorMimi Zohar <zohar@linux.ibm.com>
Mon, 25 Mar 2019 18:13:27 +0000 (14:13 -0400)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 17 Apr 2019 21:32:40 +0000 (15:32 -0600)
commit0d79c7b295c110c166ad272bb052205fa4ff21d9
tree49c6e431f04d4366b97cff7d58853c9ebd7a464c
parent7477c850015fcf8db88962e423ff192344ca758a
selftests/kexec: make kexec_load test independent of IMA being enabled

Verify IMA is enabled before failing tests or emitting irrelevant
messages.

Suggested-by: Dave Young <dyoung@redhat.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Reviewed-by: Dave Young <dyoung@redhat.com>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/kexec/test_kexec_load.sh