On Mon, 28 Dec 2020 12:34:59 +0800, Po-Hsu Lin wrote:
> The == operand is a bash extension, thus this will fail on Ubuntu with
>
> As the /bin/sh on Ubuntu is pointed to DASH.
>
> Use -eq to fix this posix compatibility issue.
Applied to powerpc/next.
[1/1] selftests/powerpc: Make the test chec
On 28/12/2020 05:34, Po-Hsu Lin wrote:
The == operand is a bash extension, thus this will fail on Ubuntu with
Error message is somehow missing. It should read:
"./eeh-basic.sh: 89: test: 2: unexpected operator"
As the /bin/sh on Ubuntu is pointed to DASH.
Use -eq to fix this posix compat
The == operand is a bash extension, thus this will fail on Ubuntu with
As the /bin/sh on Ubuntu is pointed to DASH.
Use -eq to fix this posix compatibility issue.
Fixes: 996f9e0f93f162 ("selftests/powerpc: Fix eeh-basic.sh exit codes")
Signed-off-by: Po-Hsu Lin
---
tools/testing/selftests/powe