diff options
| author | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-06-12 16:46:03 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-24 13:26:54 +0200 |
| commit | c22a9ad9d0dfa4a72aeb08bc5275239d4281f077 (patch) | |
| tree | 687a95a3bdfbe278c0a2ffe784669062296b4a20 /tools/perf/scripts/python/netdev-times.py | |
| parent | 8747d9e7d45420350524dc8a8343837b8ac92776 (diff) | |
selftests: pstore: return Kselftest Skip code for skipped tests
[ Upstream commit 856e7c4b619af622d56b3b454f7bec32a170ac99 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
