From: Martin Schwenke Date: Sat, 22 Jun 2024 04:54:53 +0000 (+1000) Subject: ctdb-tests: Add more reloadnodes unit tests X-Git-Tag: tdb-1.4.11~120 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=340563633cab974f3b3420137fedf2dec85ca88c;p=thirdparty%2Fsamba.git ctdb-tests: Add more reloadnodes unit tests There are no existing tests to exercise node IP address change detection. Signed-off-by: Martin Schwenke Reviewed-by: Guenther Deschner --- diff --git a/ctdb/tests/UNIT/tool/ctdb.reloadnodes.030.sh b/ctdb/tests/UNIT/tool/ctdb.reloadnodes.030.sh new file mode 100755 index 00000000000..ddf69b8ac9a --- /dev/null +++ b/ctdb/tests/UNIT/tool/ctdb.reloadnodes.030.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +. "${TEST_SCRIPTS_DIR}/unit.sh" + +define_test "3 nodes, 1st node changes IP address" + +setup_nodes <