ktest: Add warning when bugs are ignored
authorSteven Rostedt <srostedt@redhat.com>
Wed, 21 Mar 2012 12:18:35 +0000 (08:18 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 21 Mar 2012 12:18:35 +0000 (08:18 -0400)
commit6ca996cc7cee88a6153158455a0ba8e1e79dcd2e
treea896e3d3a0f733f123a88a6f6594c14f4a69ed4e
parent627977d83ad081c43c9bcd3ad1e89e816a752061
ktest: Add warning when bugs are ignored

When IGNORE_ERRORS is set, ktest will not fail a test if a backtrace
is detected. But this can be an issue if the user added it in the
config but forgot to remove it. They may be left wondering why their
test did not fail, or even worse, why their bisect gave the wrong
commit.

Add a warning in the output if IGNORE_WARNINGS is set, and ktest detects
a kernel error.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl