android_kernel_motorola_sm6375/tools/testing
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Po-Hsu Lin 623c86840e selftests/powerpc: Make the test check in eeh-basic.sh posix compliant
[ Upstream commit 3db380570af7052620ace20c29e244938610ca71 ]

The == operand is a bash extension, thus this will fail on Ubuntu
with:
  ./eeh-basic.sh: 89: test: 2: unexpected operator

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 <po-hsu.lin@canonical.com>
Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201228043459.14281-1-po-hsu.lin@canonical.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 10:26:26 +01:00
..
fault-injection
ktest ktest.pl: If size of log is too big to email, email error message 2020-12-21 13:27:05 +01:00
nvdimm
radix-tree ida: Free allocated bitmap in error path 2020-10-29 09:57:47 +01:00
scatterlist
selftests selftests/powerpc: Make the test check in eeh-basic.sh posix compliant 2021-03-04 10:26:26 +01:00
vsock