* contrib/compare_tests: Eliminate Shellcheck warnings.
authorBen Elliston <bje@gnu.org>
Fri, 20 Jul 2018 03:48:33 +0000 (13:48 +1000)
committerBen Elliston <bje@gnu.org>
Fri, 20 Jul 2018 03:48:33 +0000 (13:48 +1000)
commitde9a1cae6716032501e87fc6d80a527f21c786ca
treeccaa0b8c833ec289ed388491c42f7b88d939c207
parent4fe160b03cf9023360ec88b764d0fd8596bf0969
* contrib/compare_tests: Eliminate Shellcheck warnings.
* contrib/mysql/sum2xml.sh: Likewise.

Warnings fixed:
Use single quotes, otherwise this expands now rather than when signalled. [SC2064]
Trapping signals by number is not well defined. Prefer signal names. [SC2172]
SIGKILL/SIGSTOP can not be trapped. [SC2173]
Trapping signals by number is not well defined. Prefer signal names. [SC2172]
Check exit code directly with e.g. 'if mycmd;', not indirectly with $?. [SC2181]
read without -r will mangle backslashes. [SC2162]
egrep is non-standard and deprecated. Use grep -E instead. [SC2196]
ChangeLog
contrib/compare_tests
contrib/mysql/sum2xml.sh