git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
028fe93
)
ctdb-tests/integration: try_command_on_node() shouldn't lose onnode options
author
Martin Schwenke
<martin@meltin.net>
Wed, 13 Nov 2013 03:13:52 +0000
(14:13 +1100)
committer
Michael Adam
<obnox@samba.org>
Wed, 27 Nov 2013 17:46:16 +0000
(18:46 +0100)
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>
ctdb/tests/scripts/integration.bash
patch
|
blob
|
history
diff --git
a/ctdb/tests/scripts/integration.bash
b/ctdb/tests/scripts/integration.bash
index 040a36048de110f4250c47722a20997ea8527389..7dbccbcbdef59a07c58e33fd07fd00eef5b022bc 100644
(file)
--- 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