]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: move stderr redirection out from test expression
authorSami Kerola <kerolasa@iki.fi>
Fri, 4 May 2018 19:38:03 +0000 (20:38 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 28 May 2018 11:36:38 +0000 (13:36 +0200)
commit4520caa11e52999e40a208d4926952a28169a5f1
tree76c04581df8fc509e432bf512a709d4e9904d2f7
parent64af1a29871e116ebf825fe8d4dbf1c1c73ce4a8
tests: move stderr redirection out from test expression

Fix shellcheck error.

if ! [ "$paraller_jobs" -ge 0 2>/dev/null ]; then
^-- SC1009: The mentioned parser error was in this if expression.
     ^-- SC1073: Couldn't parse this test expression.
                              ^-- SC1072: Expected test to end here (don't
                                  wrap commands in []/[[]]). Fix any
                                  mentioned problems and try again.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
tests/run.sh