summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/scripts
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-11-13 14:13:52 +1100
committerMichael Adam <obnox@samba.org>2013-11-27 18:46:16 +0100
commit3c3e670d83e2f6a514d40db2cc25107b80f0087d (patch)
tree48c6bbd01326474264bf1e9fcefafe46a272d3ad /ctdb/tests/scripts
parent028fe930b65bd97261eaf689d54ffeb3ea0746db (diff)
downloadsamba-3c3e670d83e2f6a514d40db2cc25107b80f0087d.tar.gz
samba-3c3e670d83e2f6a514d40db2cc25107b80f0087d.tar.xz
samba-3c3e670d83e2f6a514d40db2cc25107b80f0087d.zip
ctdb-tests/integration: try_command_on_node() shouldn't lose onnode options
Currently it only passes the last (non -v) option seen. It should pass them all. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'ctdb/tests/scripts')
-rw-r--r--ctdb/tests/scripts/integration.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/scripts/integration.bash b/ctdb/tests/scripts/integration.bash
index 040a36048d..7dbccbcbde 100644
--- a/ctdb/tests/scripts/integration.bash
+++ b/ctdb/tests/scripts/integration.bash
@@ -155,7 +155,7 @@ try_command_on_node ()
if [ "$nodespec" = "-v" ] ; then
verbose=true
else
- onnode_opts="$nodespec"
+ onnode_opts="${onnode_opts}${onnode_opts:+ }${nodespec}"
fi
nodespec="$1" ; shift
done