]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit43ce9c177a4afc70f4b52d26ea18293cf3b97880
tree6cc15b316491fb31c8f6629e96bac7ed854bda43
parent79e6d0089bffaba15dee2333753c0d3dc2cdddb1
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