selftests/powerpc/ptrace: Make child errors more obvious
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 27 Jun 2022 14:02:37 +0000 (00:02 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 25 Jul 2022 02:05:16 +0000 (12:05 +1000)
commit7b1513d02edf4a6334618070641f47abbbef0cef
tree6cc15b316491fb31c8f6629e96bac7ed854bda43
parent611e385087efc2cc3a7033aedd3f84ad0cf2a703
selftests/powerpc/ptrace: Make child errors more obvious

Use the FAIL_IF() macro so that errors in the child report a line
number, rather than just silently exiting.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220627140239.2464900-11-mpe@ellerman.id.au
tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c