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:
b8461b4
)
ctdb-tests: Avoid running valgrind under valgrind
author
Martin Schwenke
<martin@meltin.net>
Wed, 16 Oct 2019 06:21:51 +0000
(17:21 +1100)
committer
Ralph Boehme
<slow@samba.org>
Tue, 22 Oct 2019 19:39:40 +0000
(19:39 +0000)
When run from integration tests $CTDB already includes $VALGRIND, if
set. So only add $VALGRIND if $CTDB is not set.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/local_daemons.sh
patch
|
blob
|
history
diff --git
a/ctdb/tests/local_daemons.sh
b/ctdb/tests/local_daemons.sh
index 6217e54332d2aa7375548eb598544438323b58a8..3f5729b5a2442ff167d8f76874cb35ebbe7caca7 100755
(executable)
--- a/
ctdb/tests/local_daemons.sh
+++ b/
ctdb/tests/local_daemons.sh
@@
-356,7
+356,7
@@
local_daemons_stop ()
onnode_common
- onnode -p "$_nodes" "${
VALGRIND:-} ${CTDB:-
ctdb} shutdown"
+ onnode -p "$_nodes" "${
CTDB:-${VALGRIND:-}
ctdb} shutdown"
}
local_daemons_onnode_usage ()