From: Martin Schwenke Date: Tue, 7 Jan 2020 05:30:23 +0000 (+1100) Subject: ctdb-tests: Add some tool unit tests to ensure that timeouts work X-Git-Tag: ldb-2.1.1~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b3db29bd5f44daa0abb64ba4a7bb5e5cad2a6ac;p=thirdparty%2Fsamba.git ctdb-tests: Add some tool unit tests to ensure that timeouts work Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs Autobuild-User(master): Amitay Isaacs Autobuild-Date(master): Mon Feb 10 05:34:08 UTC 2020 on sn-devel-184 --- diff --git a/ctdb/tests/UNIT/tool/ctdb.getpid.010.sh b/ctdb/tests/UNIT/tool/ctdb.getpid.010.sh new file mode 100755 index 00000000000..6e220a2f8d7 --- /dev/null +++ b/ctdb/tests/UNIT/tool/ctdb.getpid.010.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +. "${TEST_SCRIPTS_DIR}/unit.sh" + +define_test "3 nodes, all ok, GET_PID control times out" + +setup_lvs <