diff options
author | 2021-01-18 15:01:45 +0530 | |
---|---|---|
committer | 2021-01-19 08:04:32 +1100 | |
commit | 92a5e1fdb286851d5bd0eb966b8d075be27cf5ee (patch) | |
tree | 70068de8186ff59adb0c901ff7f42ac800b7ec8b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | powerpc/vdso: Fix clock_gettime_fallback for vdso32 (diff) | |
download | wireguard-linux-92a5e1fdb286851d5bd0eb966b8d075be27cf5ee.tar.xz wireguard-linux-92a5e1fdb286851d5bd0eb966b8d075be27cf5ee.zip |
selftests/powerpc: Fix exit status of pkey tests
Since main() does not return a value explicitly, the
return values from FAIL_IF() conditions are ignored
and the tests can still pass irrespective of failures.
This makes sure that we always explicitly return the
correct test exit status.
Fixes: 1addb6444791 ("selftests/powerpc: Add test for execute-disabled pkeys")
Fixes: c27f2fd1705a ("selftests/powerpc: Add test for pkey siginfo verification")
Reported-by: Eirik Fuller <efuller@redhat.com>
Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210118093145.10134-1-sandipan@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions