git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e494eb3
)
ctdb-tests: try_command_on_node() should return status of command
author
Martin Schwenke
<martin@meltin.net>
Tue, 13 Aug 2019 11:43:32 +0000
(21:43 +1000)
committer
Amitay Isaacs
<amitay@samba.org>
Fri, 4 Oct 2019 09:41:28 +0000
(09:41 +0000)
There is no point folding this down to 1. Tests should be able to see
the original value, if required.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/scripts/integration.bash
patch
|
blob
|
history
diff --git
a/ctdb/tests/scripts/integration.bash
b/ctdb/tests/scripts/integration.bash
index 51eceb59dc62e22624b32fa045930ca56684ce29..52830ff9703043eee946f4dc446d56ff5dd20e94 100644
(file)
--- a/
ctdb/tests/scripts/integration.bash
+++ b/
ctdb/tests/scripts/integration.bash
@@
-124,7
+124,7
@@
try_command_on_node ()
if [ $status -ne 0 ] ; then
echo "Failed to execute \"$cmd\" on node(s) \"$nodespec\""
cat "$outfile"
- return
1
+ return
$status
fi
if $verbose ; then