selftests/powerpc: Return errors from all tests
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 6 Nov 2024 13:04:52 +0000 (00:04 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 7 Nov 2024 11:36:31 +0000 (22:36 +1100)
commitc6a75555b4b2643365a007b7162a670d69aa28fe
tree28e49bb65b3cc234550556060e44a1fbdeed5149
parentd5f578f90a34d85f1cabd4c27af1b2d9fbffe64b
selftests/powerpc: Return errors from all tests

Fix some tests which weren't returning an error code from main.

Although these tests only ever return success, they can still fail if
they time out and the harness kills them. If that happens they still
return success to the shell, which is incorrect and confuses the higher
level error reporting.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/20241106130453.1741013-4-mpe@ellerman.id.au
tools/testing/selftests/powerpc/signal/sigfuz.c
tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c
tools/testing/selftests/powerpc/tm/tm-signal-sigreturn-nt.c