1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/ctdb/tests/tool
Martin Schwenke 28345d83c0 tests/tool: New tests for natgwlist, getcapabilities, lvs, lvsmaster
Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 6bd4feff7039138d435428eeded51975c44e567c)
2012-09-28 17:05:34 +10:00
..
scripts tests/tool: New function setup_natgw() to setup $CTDB_NATGW_NODES 2012-09-28 17:05:34 +10:00
testcases Merge remote branch 'martins/master' 2012-04-18 13:48:43 +10:00
func.parse_nodestring.001.sh tests/tool - Restructure according to new convention 2012-04-16 15:06:48 +10:00
func.parse_nodestring.002.sh tests/tool - Restructure according to new convention 2012-04-16 15:06:48 +10:00
func.parse_nodestring.003.sh tests/tool - Restructure according to new convention 2012-04-16 15:06:48 +10:00
README tests: Update README files and add new README files where missing 2012-04-27 15:40:43 +10:00
stubby.getcapabilities.001.sh tests/tool: New tests for natgwlist, getcapabilities, lvs, lvsmaster 2012-09-28 17:05:34 +10:00
stubby.getcapabilities.002.sh tests/tool: New tests for natgwlist, getcapabilities, lvs, lvsmaster 2012-09-28 17:05:34 +10:00
stubby.getcapabilities.003.sh tests/tool: New tests for natgwlist, getcapabilities, lvs, lvsmaster 2012-09-28 17:05:34 +10:00
stubby.lvs.001.sh tests/tool: New tests for natgwlist, getcapabilities, lvs, lvsmaster 2012-09-28 17:05:34 +10:00
stubby.lvsmaster.001.sh tests/tool: New tests for natgwlist, getcapabilities, lvs, lvsmaster 2012-09-28 17:05:34 +10:00
stubby.lvsmaster.002.sh tests/tool: New tests for natgwlist, getcapabilities, lvs, lvsmaster 2012-09-28 17:05:34 +10:00
stubby.natgwlist.001.sh tests/tool: New tests for natgwlist, getcapabilities, lvs, lvsmaster 2012-09-28 17:05:34 +10:00
stubby.natgwlist.002.sh tests/tool: New tests for natgwlist, getcapabilities, lvs, lvsmaster 2012-09-28 17:05:34 +10:00
stubby.natgwlist.003.sh tests/tool: New tests for natgwlist, getcapabilities, lvs, lvsmaster 2012-09-28 17:05:34 +10:00
stubby.natgwlist.004.sh tests/tool: New tests for natgwlist, getcapabilities, lvs, lvsmaster 2012-09-28 17:05:34 +10:00
stubby.natgwlist.005.sh tests/tool: New tests for natgwlist, getcapabilities, lvs, lvsmaster 2012-09-28 17:05:34 +10:00
stubby.nodestatus.001.sh tests/tool - Restructure according to new convention 2012-04-16 15:06:48 +10:00
stubby.nodestatus.002.sh tests/tool - Restructure according to new convention 2012-04-16 15:06:48 +10:00
stubby.nodestatus.003.sh tests/tool - Restructure according to new convention 2012-04-16 15:06:48 +10:00
stubby.nodestatus.004.sh tests/tool - Restructure according to new convention 2012-04-16 15:06:48 +10:00
stubby.nodestatus.005.sh tests/tool - Restructure according to new convention 2012-04-16 15:06:48 +10:00
stubby.status.001.sh tests/tool - Restructure according to new convention 2012-04-16 15:06:48 +10:00
stubby.status.002.sh tests/tool - Restructure according to new convention 2012-04-16 15:06:48 +10:00

Unit tests for the ctdb tool (i.e. tools/ctdb).

Test case filenames can take 2 forms:

* func.<some_function>.NNN.sh

  Run <some_function> in the ctdb tool code using the
  ctdb_tool_libctdb test program.  This test program uses test stubs
  for libctdb functions.

* stubby.<command>.NNN.sh

  Run the ctdb_tool_stubby test program with <command> as the 1st
  argument - subsequent are passed to simple_test().  ctdb_tool_stubby
  is linked against the test stubs for libctdb functions.

To add tests here you may need to change commands/functions in the
ctdb tool so that they use libctdb.  You will also need to add the
appropriate test stubs.