tests/kernel/stackprot: 'fatal fault' is not a failure
By default, when a 'fatal fault' message is seen in the output of any testcase, it is consider an inmediate fatal condition and the test case is aborted. However, this testcase is provoking the situation to verify the condition is caught. This, it shall NOT be considered a fatal fault and the default overriden to allow it to proceed. This was done in the legacy testcases and now is moved to this testcase, ported from legacy. Change-Id: Icac6cf55cae2ffd9b071e9dd1f35918b7b30de5e Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
This commit is contained in:
parent
e3029f719f
commit
57eb17a8ca
6
tests/kernel/stackprot/defaults.tc
Normal file
6
tests/kernel/stackprot/defaults.tc
Normal file
|
@ -0,0 +1,6 @@
|
|||
#
|
||||
# This TC will force a fatal fault, as it is testing it. Don't error
|
||||
# if we find it (cancel out the default setting in root's defaults.tc
|
||||
# that will consider a testcase toast if a fatal fault is found
|
||||
#
|
||||
# ^eval console-rx %(console)s::pass [Ff]atal fault in
|
Loading…
Reference in a new issue