1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/ctdb/tests/tool
Martin Schwenke cc3e9a651d ctdb-tests: Make ctdb natgw tool tests cover all the desired outputs
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2016-04-25 07:10:15 +02:00
..
scripts ctdb-tool: Change ctdb lvs/lvsmaster CLI commands to use ctdb_lvs helper 2016-04-15 05:57:18 +02:00
stubs ctdb-tests: Test ctdb CLI tool via a stub 2016-01-25 07:18:25 +01: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 ctdb-tests: Make the fake log timestamp string easy to modify 2014-10-06 12:34:32 +02:00
README tests/tool: Remove references in libctdb in file and function names 2013-10-04 15:15:35 +10:00
stubby.getcapabilities.001.sh ctdb-daemon: Drop --lvs option and support for CTDB_CAP_LVS 2016-04-15 09:35:51 +02:00
stubby.getcapabilities.002.sh ctdb-daemon: Drop --lvs option and support for CTDB_CAP_LVS 2016-04-15 09:35:51 +02:00
stubby.getcapabilities.003.sh ctdb-tests: Make the fake log timestamp string easy to modify 2014-10-06 12:34:32 +02:00
stubby.getcapabilities.004.sh ctdb-daemon: Drop --lvs option and support for CTDB_CAP_LVS 2016-04-15 09:35:51 +02:00
stubby.listnodes.001.sh ctdb-tools: Reimplement read_nodes_file() using ctdb_get_nodes_file() 2015-03-23 12:23:12 +01:00
stubby.listnodes.002.sh ctdb-tests: Add "ctdb listnodes" and "ctdb xpnn" stub tests 2014-03-23 04:20:14 +01:00
stubby.lvs.001.sh ctdb-scripts: Simplify "ctdb lvs ..." output 2016-04-15 05:57:18 +02:00
stubby.lvs.002.sh ctdb-scripts: Simplify "ctdb lvs ..." output 2016-04-15 05:57:18 +02:00
stubby.lvs.003.sh ctdb-scripts: Simplify "ctdb lvs ..." output 2016-04-15 05:57:18 +02:00
stubby.lvs.004.sh ctdb-scripts: Simplify "ctdb lvs ..." output 2016-04-15 05:57:18 +02:00
stubby.lvs.005.sh ctdb-scripts: Simplify "ctdb lvs ..." output 2016-04-15 05:57:18 +02:00
stubby.lvs.006.sh ctdb-scripts: Simplify "ctdb lvs ..." output 2016-04-15 05:57:18 +02:00
stubby.lvs.007.sh ctdb-scripts: Simplify "ctdb lvs ..." output 2016-04-15 05:57:18 +02:00
stubby.lvs.008.sh ctdb-tools: Change ctdb CLI to have a single "lvs" command 2016-04-15 05:57:18 +02:00
stubby.natgw.001.sh ctdb-tests: Make ctdb natgw tool tests cover all the desired outputs 2016-04-25 07:10:15 +02:00
stubby.natgw.002.sh ctdb-tests: Make ctdb natgw tool tests cover all the desired outputs 2016-04-25 07:10:15 +02:00
stubby.natgw.003.sh ctdb-tests: Make ctdb natgw tool tests cover all the desired outputs 2016-04-25 07:10:15 +02:00
stubby.natgw.004.sh ctdb-tests: Make ctdb natgw tool tests cover all the desired outputs 2016-04-25 07:10:15 +02:00
stubby.natgw.005.sh ctdb-tests: Make ctdb natgw tool tests cover all the desired outputs 2016-04-25 07:10:15 +02:00
stubby.natgw.006.sh ctdb-tests: Make ctdb natgw tool tests cover all the desired outputs 2016-04-25 07:10:15 +02:00
stubby.natgw.007.sh ctdb-tests: Make ctdb natgw tool tests cover all the desired outputs 2016-04-25 07:10:15 +02:00
stubby.natgw.008.sh ctdb-tests: Make ctdb natgw tool tests cover all the desired outputs 2016-04-25 07:10:15 +02:00
stubby.nodestatus.001.sh tests/tool - Restructure according to new convention 2012-04-16 15:06:48 +10:00
stubby.nodestatus.002.sh ctdb-tests: Do not test "ctdb nodestatus -n all" 2015-10-23 03:43:26 +02:00
stubby.recover.001.sh ctdb-tests: Add tests for "ctdb reloadips" and "ctdb recover" 2015-03-16 09:18:55 +01:00
stubby.reloadips.001.sh ctdb-tests: Add tests for "ctdb reloadips" and "ctdb recover" 2015-03-16 09:18:55 +01:00
stubby.reloadips.002.sh ctdb-tests: Add tests for "ctdb reloadips" and "ctdb recover" 2015-03-16 09:18:55 +01:00
stubby.reloadips.003.sh ctdb-tests: Add tests for "ctdb reloadips" and "ctdb recover" 2015-03-16 09:18:55 +01:00
stubby.reloadnodes.001.sh ctdb-tools: Sanity check changes before processing "reloadnodes" 2015-03-23 12:23:12 +01:00
stubby.reloadnodes.002.sh ctdb-tests: Add "ctdb reloadnodes" unit tests 2015-03-23 12:23:12 +01:00
stubby.reloadnodes.003.sh ctdb-tests: Add "ctdb reloadnodes" unit tests 2015-03-23 12:23:12 +01:00
stubby.reloadnodes.011.sh ctdb-tools: Use a broadcast to connected nodes for "reloadnodes" 2015-03-23 15:04:00 +01:00
stubby.reloadnodes.012.sh ctdb-tools: Use a broadcast to connected nodes for "reloadnodes" 2015-03-23 15:04:00 +01:00
stubby.reloadnodes.013.sh ctdb-tests: Add unit tests for "reloadnodes" sanity checking 2015-03-23 12:23:12 +01:00
stubby.reloadnodes.014.sh ctdb-tools: Use a broadcast to connected nodes for "reloadnodes" 2015-03-23 15:04:00 +01:00
stubby.reloadnodes.015.sh ctdb-tests: Add unit tests for "reloadnodes" sanity checking 2015-03-23 12:23:12 +01:00
stubby.reloadnodes.016.sh ctdb-tools: Use a broadcast to connected nodes for "reloadnodes" 2015-03-23 15:04:00 +01:00
stubby.reloadnodes.017.sh ctdb-tests: Add unit tests for "reloadnodes" sanity checking 2015-03-23 12:23:12 +01:00
stubby.reloadnodes.018.sh ctdb-tools: Use a broadcast to connected nodes for "reloadnodes" 2015-03-23 15:04:00 +01:00
stubby.reloadnodes.019.sh ctdb-tools: Use a broadcast to connected nodes for "reloadnodes" 2015-03-23 15:04:00 +01:00
stubby.reloadnodes.020.sh ctdb-tools: Use a broadcast to connected nodes for "reloadnodes" 2015-03-23 15:04:00 +01:00
stubby.reloadnodes.021.sh ctdb-tools: Use a broadcast to connected nodes for "reloadnodes" 2015-03-23 15:04:00 +01:00
stubby.reloadnodes.022.sh ctdb-tests: Add unit tests for "reloadnodes" sanity checking 2015-03-23 12:23:12 +01:00
stubby.reloadnodes.023.sh ctdb-tools: Use a broadcast to connected nodes for "reloadnodes" 2015-03-23 15:04:00 +01:00
stubby.reloadnodes.024.sh ctdb-tests: Add "ctdb reloadnodes" test for "node remains deleted" 2015-04-07 07:43:12 +02: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
stubby.xpnn.001.sh ctdb-tests: Add "ctdb listnodes" and "ctdb xpnn" stub tests 2014-03-23 04:20:14 +01:00
stubby.xpnn.002.sh ctdb-tests: Add "ctdb listnodes" and "ctdb xpnn" stub tests 2014-03-23 04:20:14 +01:00
stubby.xpnn.003.sh ctdb-tools: Reimplement read_nodes_file() using ctdb_get_nodes_file() 2015-03-23 12:23:12 +01: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_functest test program.  This test program uses test stubs
  for CTDB client 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 CTDB client functions.

To add tests here you may need to add appropriate test stubs.