From: Martin Schwenke Date: Thu, 26 May 2022 22:38:11 +0000 (+1000) Subject: ctdb-tests: Add new tool unit tests to cover UNKNOWN state X-Git-Tag: tevent-0.13.0~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be293a125fc222867ca1c96e3898073e58f5fa0c;p=thirdparty%2Fsamba.git ctdb-tests: Add new tool unit tests to cover UNKNOWN state Signed-off-by: Vinit Agnihotri Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs Autobuild-User(master): Amitay Isaacs Autobuild-Date(master): Tue Jun 28 10:16:59 UTC 2022 on sn-devel-184 --- diff --git a/ctdb/tests/UNIT/tool/ctdb.nodestatus.007.sh b/ctdb/tests/UNIT/tool/ctdb.nodestatus.007.sh new file mode 100755 index 00000000000..c96df4d9616 --- /dev/null +++ b/ctdb/tests/UNIT/tool/ctdb.nodestatus.007.sh @@ -0,0 +1,36 @@ +#!/bin/sh + +. "${TEST_SCRIPTS_DIR}/unit.sh" + +define_test "all, 3 nodes, 1 unhealthy, runstate init" + +setup_ctdbd <