test: unit test for exception command
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 11 Nov 2020 23:29:59 +0000 (00:29 +0100)
committerSimon Glass <sjg@chromium.org>
Sun, 13 Dec 2020 14:58:17 +0000 (07:58 -0700)
commit6ca5ff3f201ce52d4626fb39ad3658e262cac9ef
tree20e2f25529873d368ac9ce67b00155228e528cc2
parent04cc7914f2697cdc43b1cd5e0d7ab73893327966
test: unit test for exception command

Test that an exception SIGILL is answered by a reset on the sandbox if
CONFIG_SANDBOX_CRASH_RESET=y or by exiting to the OS otherwise.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/Kconfig
test/py/tests/test_sandbox_exit.py