Re: [kvm-unit-tests PATCH 17/32] arch-run: Fix handling multiple exit status messages

2024-02-28 Thread Andrew Jones
On Mon, Feb 26, 2024 at 08:12:03PM +1000, Nicholas Piggin wrote: > In SMP tests, it's possible for multiple CPUs to print an exit > message if they abort concurrently, confusing the harness: > > EXIT: STATUS=127 > > EXIT: STATUS=127 > scripts/arch-run.bash: line 85: [: too many arguments >

[kvm-unit-tests PATCH 17/32] arch-run: Fix handling multiple exit status messages

2024-02-26 Thread Nicholas Piggin
In SMP tests, it's possible for multiple CPUs to print an exit message if they abort concurrently, confusing the harness: EXIT: STATUS=127 EXIT: STATUS=127 scripts/arch-run.bash: line 85: [: too many arguments scripts/arch-run.bash: line 93: return: too many arguments lib/arch code shoul