diff options
author | 2018-05-02 18:11:20 -0600 | |
---|---|---|
committer | 2018-05-30 15:21:52 -0600 | |
commit | 1f0ea95853bd55a1812f2903b2f776853069f21f (patch) | |
tree | 2c72815da0e35dddd5501ac3f589214f15e162f9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests: cpufreq: return Kselftest Skip code for skipped tests (diff) | |
download | wireguard-linux-1f0ea95853bd55a1812f2903b2f776853069f21f.tar.xz wireguard-linux-1f0ea95853bd55a1812f2903b2f776853069f21f.zip |
selftests: efivarfs: return Kselftest Skip code for skipped tests
When efivarfs test is 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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions