From ae07e3b8159d5dc02880463561a6412b9ea59b79 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Thu, 21 Jul 2016 12:45:44 +1000 Subject: [PATCH] ctdb-tests: Add "ctdb ban/unban" tool tests Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- ctdb/tests/tool/ctdb.ban.001.sh | 35 +++++++++++++++++++++++++++++++ ctdb/tests/tool/ctdb.ban.002.sh | 23 ++++++++++++++++++++ ctdb/tests/tool/ctdb.ban.003.sh | 23 ++++++++++++++++++++ ctdb/tests/tool/ctdb.unban.001.sh | 23 ++++++++++++++++++++ ctdb/tests/tool/ctdb.unban.002.sh | 34 ++++++++++++++++++++++++++++++ ctdb/tests/tool/ctdb.unban.003.sh | 23 ++++++++++++++++++++ 6 files changed, 161 insertions(+) create mode 100755 ctdb/tests/tool/ctdb.ban.001.sh create mode 100755 ctdb/tests/tool/ctdb.ban.002.sh create mode 100755 ctdb/tests/tool/ctdb.ban.003.sh create mode 100755 ctdb/tests/tool/ctdb.unban.001.sh create mode 100755 ctdb/tests/tool/ctdb.unban.002.sh create mode 100755 ctdb/tests/tool/ctdb.unban.003.sh diff --git a/ctdb/tests/tool/ctdb.ban.001.sh b/ctdb/tests/tool/ctdb.ban.001.sh new file mode 100755 index 00000000000..3c17f752d76 --- /dev/null +++ b/ctdb/tests/tool/ctdb.ban.001.sh @@ -0,0 +1,35 @@ +#!/bin/sh + +. "${TEST_SCRIPTS_DIR}/unit.sh" + +define_test "ban default (0), wait for timeout" + +setup_ctdbd <