[PATCH] selftests/powerpc: Fix eeh-basic.sh exit codes

Michael Ellerman patch-notifications at ellerman.id.au
Fri Oct 16 22:02:02 AEDT 2020


On Wed, 14 Oct 2020 13:47:11 +1100, Oliver O'Halloran wrote:
> The kselftests test running infrastructure expects tests to finish with an
> exit code of 4 if the test decided it should be skipped. Currently
> eeh-basic.sh exits with the number of devices that failed to recover, so if
> four devices didn't recover we'll report a skip instead of a fail.
> 
> Fix this by checking if the return code is non-zero and report success
> and failure by returning 0 or 1 respectively. For the cases where should
> actually skip return 4.

Applied to powerpc/next.

[1/1] selftests/powerpc: Fix eeh-basic.sh exit codes
      https://git.kernel.org/powerpc/c/996f9e0f93f16211945c8d5f18f296a88cb32f91

cheers


More information about the Linuxppc-dev mailing list