linux/tools/testing/selftests/pstore
Shuah Khan (Samsung OSG) 856e7c4b61 selftests: pstore: return Kselftest Skip code for skipped tests
When pstore_post_reboot test gets skipped because of unmet dependencies
and/or unsupported configuration, it returns 0 which is treated as a pass
by the Kselftest framework. This leads to false positive result even when
the test could not be run.

Change it to return kselftest skip code when a test gets skipped to clearly
report that the test could not be run.

Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.

Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
2018-06-18 09:11:09 -06:00
..
.gitignore selftests: pstore: add .gitignore for generated files 2017-08-02 13:50:29 -06:00
common_tests
config selftests: pstore: Adding config fragment CONFIG_PSTORE_RAM=m 2018-02-13 14:09:17 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pstore_crash_test
pstore_post_reboot_tests selftests: pstore: return Kselftest Skip code for skipped tests 2018-06-18 09:11:09 -06:00
pstore_tests