Merge pull request #8574 from tchaikov/wip-readable-test-fix

test/encoding/readable: use [ for "test" not ((

Reviewed-by: Erwan Velu <erwan@redhat.com>
This commit is contained in:
Kefu Chai 2016-04-13 20:32:50 +08:00
commit 05968dbb61

View File

@ -149,7 +149,7 @@ waitall() { # PID...
errors=$(($errors + 1))
fi
done
(("$#" > 0)) || break
[ $# -eq 0 ] && break
sleep ${WAITALL_DELAY:-1}
done
[ $errors -eq 0 ]