linux/tools/testing/selftests/powerpc/mm
Sandipan Das 92a5e1fdb2 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: 1addb64447 ("selftests/powerpc: Add test for execute-disabled pkeys")
Fixes: c27f2fd170 ("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
2021-01-19 08:04:32 +11:00
..
.gitignore Revert "powerpc/64s: Remove PROT_SAO support" 2020-08-24 14:12:53 +10:00
bad_accesses.c selftests/powerpc: Fix uninitialized variable warning 2020-12-04 01:01:21 +11:00
hugetlb_vs_thp_test.c
large_vm_fork_separation.c selftests/powerpc: Add test of fork with mapping above 512TB 2019-06-13 12:09:48 +10:00
Makefile Revert "powerpc/64s: Remove PROT_SAO support" 2020-08-24 14:12:53 +10:00
pkey_exec_prot.c selftests/powerpc: Fix exit status of pkey tests 2021-01-19 08:04:32 +11:00
pkey_siginfo.c selftests/powerpc: Fix exit status of pkey tests 2021-01-19 08:04:32 +11:00
prot_sao.c selftests/powerpc: Skip PROT_SAO test in guests/LPARS 2020-09-01 22:47:02 +10:00
segv_errors.c
stack_expansion_ldst.c selftests/powerpc: Remove powerpc special cases from stack expansion test 2020-07-29 21:02:12 +10:00
stack_expansion_signal.c selftests/powerpc: Add test of stack expansion logic 2020-07-29 21:02:11 +10:00
subpage_prot.c selftests/powerpc: Skip the subpage_prot tests if the syscall is unavailable 2018-03-02 11:37:04 +11:00
tlbie_test.c selftests/powerpc: Fix compile error on tlbie_test due to newer gcc 2019-10-09 17:16:59 +11:00
wild_bctr.c selftests/powerpc: Adjust wild_bctr to build with old binutils 2018-11-15 23:05:17 +11:00