OrangePi_CM5/tools/testing/selftests/powerpc/mm
Sandipan Das 7e2bf98d53 selftests/powerpc: Fix exit status of pkey tests
commit 92a5e1fdb286851d5bd0eb966b8d075be27cf5ee upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-27 11:55:21 +01:00
..
.gitignore Revert "powerpc/64s: Remove PROT_SAO support" 2020-08-24 14:12:53 +10:00
Makefile Revert "powerpc/64s: Remove PROT_SAO support" 2020-08-24 14:12:53 +10:00
bad_accesses.c selftests/powerpc: Give the bad_accesses test longer to run 2020-09-08 22:23:54 +10:00
hugetlb_vs_thp_test.c
…
large_vm_fork_separation.c
…
pkey_exec_prot.c selftests/powerpc: Fix exit status of pkey tests 2021-01-27 11:55:21 +01:00
pkey_siginfo.c selftests/powerpc: Fix exit status of pkey tests 2021-01-27 11:55:21 +01: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
…
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
…