From: John Mulligan Date: Wed, 31 Jul 2024 20:30:13 +0000 (-0400) Subject: ctdb-tests: add reloadnodes unit tests that use the nodes list command X-Git-Tag: tdb-1.4.12~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d29c7f81941a20432f759592e4fae4334a65eff;p=thirdparty%2Fsamba.git ctdb-tests: add reloadnodes unit tests that use the nodes list command Signed-off-by: John Mulligan Reviewed-by: Martin Schwenke --- diff --git a/ctdb/tests/UNIT/tool/ctdb.reloadnodes.041.sh b/ctdb/tests/UNIT/tool/ctdb.reloadnodes.041.sh new file mode 100755 index 00000000000..2520bae9214 --- /dev/null +++ b/ctdb/tests/UNIT/tool/ctdb.reloadnodes.041.sh @@ -0,0 +1,34 @@ +#!/bin/sh + +. "${TEST_SCRIPTS_DIR}/unit.sh" + +define_test "3 nodes, nodes list command" + +cat > "${CTDB_BASE}/ctdb.conf" < "${CTDB_BASE}/nodes.sh" < "${CTDB_BASE}/ctdb.conf" < "${CTDB_BASE}/nodes.sh" <