]> git.baikalelectronics.ru Git - uboot.git/commit
efi_selftest: do not execute test if setup failed
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 16 Apr 2018 05:59:03 +0000 (07:59 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 23 Apr 2018 19:34:28 +0000 (21:34 +0200)
commit3120d2e30476b9925b74cf23f37df7b4aa678db9
treee9cafebe5e3c7499c072fd7aadd61fb922d62ac6
parent976b2f165185498dfd28a983409644da99a42a17
efi_selftest: do not execute test if setup failed

Executing a test after failed setup may lead to unexpected behavior like
an illegal memory access. So after a setup failure we should skip to
teardown.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_selftest.h
lib/efi_selftest/efi_selftest.c