1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

ctdb-tests: Force test failure if local daemon setup fails

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13800

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2019-01-21 12:13:08 +11:00 committed by Amitay Isaacs
parent 13a1a48089
commit ce09d9c3e4

View File

@ -34,6 +34,9 @@ setup_ctdb ()
${public_addresses:+-P} ${public_addresses} \
${CTDB_USE_IPV6:+-6} \
${TEST_SOCKET_WRAPPER_SO_PATH:+-S} ${TEST_SOCKET_WRAPPER_SO_PATH}
if [ $? -ne 0 ] ; then
exit 1
fi
local pnn
for pnn in $(seq 0 $(($TEST_LOCAL_DAEMONS - 1))) ; do