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

2020-10-16 Thread Michael Ellerman
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

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

2020-10-13 Thread Oliver O'Halloran
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 c