ctdb-tests: Shell cleanups in wait_until() function
authorMartin Schwenke <martin@meltin.net>
Thu, 7 Mar 2019 04:40:59 +0000 (15:40 +1100)
committerAmitay Isaacs <amitay@samba.org>
Fri, 15 Mar 2019 05:17:14 +0000 (05:17 +0000)
commit6555fbce995d3d3a7b162ea49a4a9844e234fed8
tree255d88f514518837ba407d2e16f7d8a2c63e5402
parent2fce893b2c8f63c72c5e0fb177ca61c93317b751
ctdb-tests: Shell cleanups in wait_until() function

This file is included by local_daemons.sh, which is not a bash script
and wait_until() uses the "local" keyword.  Prefixing variable names
with '_' to indicate that they are local changes a lot of lines in
this function.  So, fix indentation, potential quoting problems and
other ShellCheck hits while touching this function.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
ctdb/tests/scripts/common.sh