From 28345d83c0dd1ce89b156a9953e552e3411c8cfd Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Wed, 18 Jul 2012 17:05:03 +1000 Subject: tests/tool: New tests for natgwlist, getcapabilities, lvs, lvsmaster Signed-off-by: Martin Schwenke (This used to be ctdb commit 6bd4feff7039138d435428eeded51975c44e567c) --- ctdb/tests/tool/stubby.getcapabilities.001.sh | 30 ++++++++++++++++++++++ ctdb/tests/tool/stubby.getcapabilities.002.sh | 30 ++++++++++++++++++++++ ctdb/tests/tool/stubby.getcapabilities.003.sh | 27 +++++++++++++++++++ ctdb/tests/tool/stubby.lvs.001.sh | 27 +++++++++++++++++++ ctdb/tests/tool/stubby.lvsmaster.001.sh | 28 ++++++++++++++++++++ ctdb/tests/tool/stubby.lvsmaster.002.sh | 28 ++++++++++++++++++++ ctdb/tests/tool/stubby.natgwlist.001.sh | 37 +++++++++++++++++++++++++++ ctdb/tests/tool/stubby.natgwlist.002.sh | 37 +++++++++++++++++++++++++++ ctdb/tests/tool/stubby.natgwlist.003.sh | 35 +++++++++++++++++++++++++ ctdb/tests/tool/stubby.natgwlist.004.sh | 37 +++++++++++++++++++++++++++ ctdb/tests/tool/stubby.natgwlist.005.sh | 37 +++++++++++++++++++++++++++ 11 files changed, 353 insertions(+) create mode 100755 ctdb/tests/tool/stubby.getcapabilities.001.sh create mode 100755 ctdb/tests/tool/stubby.getcapabilities.002.sh create mode 100755 ctdb/tests/tool/stubby.getcapabilities.003.sh create mode 100755 ctdb/tests/tool/stubby.lvs.001.sh create mode 100755 ctdb/tests/tool/stubby.lvsmaster.001.sh create mode 100755 ctdb/tests/tool/stubby.lvsmaster.002.sh create mode 100755 ctdb/tests/tool/stubby.natgwlist.001.sh create mode 100755 ctdb/tests/tool/stubby.natgwlist.002.sh create mode 100755 ctdb/tests/tool/stubby.natgwlist.003.sh create mode 100755 ctdb/tests/tool/stubby.natgwlist.004.sh create mode 100755 ctdb/tests/tool/stubby.natgwlist.005.sh diff --git a/ctdb/tests/tool/stubby.getcapabilities.001.sh b/ctdb/tests/tool/stubby.getcapabilities.001.sh new file mode 100755 index 0000000000..df4a659008 --- /dev/null +++ b/ctdb/tests/tool/stubby.getcapabilities.001.sh @@ -0,0 +1,30 @@ +#!/bin/sh + +. "${TEST_SCRIPTS_DIR}/unit.sh" + +define_test "3 nodes, all ok" + +required_result 0 <