diff options
| author | Po-Hsu Lin <[email protected]> | 2020-12-28 12:34:59 +0800 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-01-05 00:00:29 +1100 |
| commit | 3db380570af7052620ace20c29e244938610ca71 (patch) | |
| tree | 17745058bd07eec75860219b99e82f7f680256a9 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 (diff) | |
selftests/powerpc: Make the test check in eeh-basic.sh posix compliant
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 <[email protected]>
Reviewed-by: Frederic Barrat <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions