Re: [PATCH] selftests: pstore: return Kselftest Skip code for skipped tests

2018-06-12 Thread Kees Cook
On Tue, Jun 12, 2018 at 4:22 PM, Shuah Khan (Samsung OSG) wrote: > 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 t

[PATCH] selftests: pstore: return Kselftest Skip code for skipped tests

2018-06-12 Thread Shuah Khan (Samsung OSG)
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