git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7425b9c
)
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
Martin Schwenke
<martin@meltin.net>
Thu, 14 Nov 2013 03:42:29 +0000
(14:42 +1100)
Currently it only passes the last (non -v) option seen. It should
pass them all.
Signed-off-by: Martin Schwenke <martin@meltin.net>
tests/scripts/integration.bash
patch
|
blob
|
history
diff --git
a/tests/scripts/integration.bash
b/tests/scripts/integration.bash
index 040a36048de110f4250c47722a20997ea8527389..7dbccbcbdef59a07c58e33fd07fd00eef5b022bc 100644
(file)
--- a/
tests/scripts/integration.bash
+++ b/
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