1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/tests/tool
Martin Schwenke 929634126a ctdb-config: Switch tunable DisableIPFailover to a config option
Use the "failover:disabled" option instead.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13589

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2018-08-24 10:59:21 +02:00
..
scripts ctdb-tests: Add dbdir option for creating databases in fake_ctdbd 2018-03-27 04:27:24 +02:00
ctdb.attach.001.sh ctdb-tests: Add database attach tests 2018-03-27 04:27:24 +02:00
ctdb.attach.002.sh ctdb-tests: Add database attach tests 2018-03-27 04:27:24 +02:00
ctdb.attach.003.sh ctdb-tests: Add database attach tests 2018-03-27 04:27:24 +02:00
ctdb.ban.001.sh ctdb-tests: Add "ctdb ban/unban" tool tests 2016-07-25 21:29:47 +02:00
ctdb.ban.002.sh ctdb-tests: Add "ctdb ban/unban" tool tests 2016-07-25 21:29:47 +02:00
ctdb.ban.003.sh ctdb-tests: Add "ctdb ban/unban" tool tests 2016-07-25 21:29:47 +02:00
ctdb.catdb.001.sh ctdb-tests: Add database traverse tests 2018-03-27 04:27:24 +02:00
ctdb.catdb.002.sh ctdb-tests: Add database traverse tests 2018-03-27 04:27:24 +02:00
ctdb.cattdb.001.sh ctdb-tests: Add database traverse tests 2018-03-27 04:27:24 +02:00
ctdb.cattdb.002.sh ctdb-tests: Add database traverse tests 2018-03-27 04:27:24 +02:00
ctdb.continue.001.sh ctdb-tests: Add "ctdb stop/continue" tool tests 2016-07-25 21:29:47 +02:00
ctdb.continue.002.sh ctdb-tests: Add "ctdb stop/continue" tool tests 2016-07-25 21:29:47 +02:00
ctdb.continue.003.sh ctdb-tests: Remove duplicate EOF terminators in some tool unit tests 2016-07-28 05:00:18 +02:00
ctdb.deletekey.001.sh ctdb-tests: Add volatile database tests 2018-03-27 04:27:24 +02:00
ctdb.disable.001.sh ctdb-tests: Add "ctdb disable/enable" tool tests 2016-07-25 21:29:47 +02:00
ctdb.disable.002.sh ctdb-tests: Add "ctdb disable/enable" tool tests 2016-07-25 21:29:47 +02:00
ctdb.disable.003.sh ctdb-tests: Add "ctdb disable/enable" tool tests 2016-07-25 21:29:47 +02:00
ctdb.disable.004.sh ctdb-tests: Add "ctdb disable/enable" tool tests 2016-07-25 21:29:47 +02:00
ctdb.enable.001.sh ctdb-tests: Add "ctdb disable/enable" tool tests 2016-07-25 21:29:47 +02:00
ctdb.enable.002.sh ctdb-tests: Add "ctdb disable/enable" tool tests 2016-07-25 21:29:47 +02:00
ctdb.enable.003.sh ctdb-tests: Add "ctdb disable/enable" tool tests 2016-07-25 21:29:47 +02:00
ctdb.getcapabilities.001.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.getcapabilities.002.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.getcapabilities.003.sh ctdb-tests: Skip starting fake_ctdbd when current node is disconnected 2017-10-26 09:35:25 +02:00
ctdb.getcapabilities.004.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.getdbmap.001.sh ctdb-tests: Add dbdir option for creating databases in fake_ctdbd 2018-03-27 04:27:24 +02:00
ctdb.getdbseqnum.001.sh ctdb-tests: Support replicated db in tool tests 2017-06-29 10:34:28 +02:00
ctdb.getdbseqnum.002.sh ctdb-tests: Support replicated db in tool tests 2017-06-29 10:34:28 +02:00
ctdb.getdbstatus.001.sh ctdb-tests: Add dbdir option for creating databases in fake_ctdbd 2018-03-27 04:27:24 +02:00
ctdb.getdbstatus.002.sh ctdb-tests: Add dbdir option for creating databases in fake_ctdbd 2018-03-27 04:27:24 +02:00
ctdb.getpid.001.sh ctdb-tests: Add "ctdb getpid" tool test 2016-07-25 21:29:45 +02:00
ctdb.getreclock.001.sh ctdb-tests: Add "ctdb getreclock" tool tests 2016-07-25 21:29:47 +02:00
ctdb.getreclock.002.sh ctdb-tests: Add "ctdb getreclock" tool tests 2016-07-25 21:29:47 +02:00
ctdb.getvar.001.sh ctdb-tests: Add "ctdb listvars/getvar/setvar" tool tests 2016-07-25 21:29:46 +02:00
ctdb.getvar.002.sh ctdb-tests: Adjust unit test output matching new ctdb 2016-07-28 05:00:17 +02:00
ctdb.ifaces.001.sh ctdb-tests: Add "ctdb ifaces" tool test 2016-07-25 21:29:44 +02:00
ctdb.ip.001.sh ctdb-tests: Add tool tests for "ctdb ip" 2016-12-19 04:07:07 +01:00
ctdb.ip.002.sh ctdb-tests: Add tool tests for "ctdb ip" 2016-12-19 04:07:07 +01:00
ctdb.ip.003.sh ctdb-tests: Add tool tests for "ctdb ip" 2016-12-19 04:07:07 +01:00
ctdb.ip.004.sh ctdb-tests: Add tool tests for "ctdb ip" 2016-12-19 04:07:07 +01:00
ctdb.ip.005.sh ctdb-tests: Add tool tests for "ctdb ip" 2016-12-19 04:07:07 +01:00
ctdb.ip.006.sh ctdb-tests: Add tool tests for "ctdb ip" 2016-12-19 04:07:07 +01:00
ctdb.ip.007.sh ctdb-tests: Add tool tests for "ctdb ip" 2016-12-19 04:07:07 +01:00
ctdb.ipinfo.001.sh ctdb-tests: Add tool tests for "ctdb ipinfo" 2016-12-19 04:07:07 +01:00
ctdb.ipinfo.002.sh ctdb-tests: Add tool tests for "ctdb ipinfo" 2016-12-19 04:07:07 +01:00
ctdb.ipinfo.003.sh ctdb-tests: Add tool tests for "ctdb ipinfo" 2016-12-19 04:07:07 +01:00
ctdb.listnodes.001.sh ctdb-tests: Simplify nodes file handling in tool tests 2018-03-19 02:23:20 +01:00
ctdb.listnodes.002.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.listvars.001.sh ctdb-config: Switch tunable DisableIPFailover to a config option 2018-08-24 10:59:21 +02:00
ctdb.lvs.001.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.lvs.002.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.lvs.003.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.lvs.004.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.lvs.005.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.lvs.006.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.lvs.007.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.lvs.008.sh ctdb-tests: Skip starting fake_ctdbd when current node is disconnected 2017-10-26 09:35:25 +02:00
ctdb.natgw.001.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.natgw.002.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.natgw.003.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.natgw.004.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.natgw.005.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.natgw.006.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.natgw.007.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.natgw.008.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.nodestatus.001.sh ctdb-tests: Add machinereadable output tests 2016-07-28 05:00:16 +02:00
ctdb.nodestatus.002.sh ctdb-tests: Add machinereadable output tests 2016-07-28 05:00:16 +02:00
ctdb.nodestatus.003.sh ctdb-tests: Add some extra tests for "ctdb nodestatus" 2017-05-26 05:24:34 +02:00
ctdb.nodestatus.004.sh ctdb-tests: Add some extra tests for "ctdb nodestatus" 2017-05-26 05:24:34 +02:00
ctdb.nodestatus.005.sh ctdb-tests: Add some extra tests for "ctdb nodestatus" 2017-05-26 05:24:34 +02:00
ctdb.nodestatus.006.sh ctdb-tests: Add some extra tests for "ctdb nodestatus" 2017-05-26 05:24:34 +02:00
ctdb.pdelete.001.sh ctdb-tests: Add persistent database tests 2018-03-27 04:27:24 +02:00
ctdb.ping.001.sh ctdb-tests: Add "ctdb ping" tool test 2016-07-25 21:29:44 +02:00
ctdb.pnn.001.sh ctdb-tests: Add "ctdb pnn" tool test 2016-07-25 21:29:46 +02:00
ctdb.process-exists.001.sh ctdb-tests: Process-exists unit tests should wait until PID is registered 2017-10-26 13:32:24 +02:00
ctdb.process-exists.002.sh ctdb-tests: Process-exists unit tests should wait until PID is registered 2017-10-26 13:32:24 +02:00
ctdb.process-exists.003.sh ctdb-tests: Process-exists unit tests should wait until PID is registered 2017-10-26 13:32:24 +02:00
ctdb.pstore.001.sh ctdb-tests: Add persistent database tests 2018-03-27 04:27:24 +02:00
ctdb.ptrans.001.sh ctdb-tests: Add persistent database tests 2018-03-27 04:27:24 +02:00
ctdb.readkey.001.sh ctdb-tests: Add volatile database tests 2018-03-27 04:27:24 +02:00
ctdb.recmaster.001.sh ctdb-tests: Add "ctdb recmaster" tool tests 2016-07-25 21:29:44 +02:00
ctdb.recmaster.002.sh ctdb-tests: Add "ctdb recmaster" tool tests 2016-07-25 21:29:44 +02:00
ctdb.recover.001.sh ctdb-tests: Require setup_ctdbd() call in tool tests 2016-07-25 21:29:43 +02:00
ctdb.reloadnodes.001.sh ctdb-tests: Drop ctdb tool debug level to NOTICE 2016-07-25 21:29:44 +02:00
ctdb.reloadnodes.002.sh ctdb-tool: Fix a log message in "ctdb reloadnodes" 2016-07-25 21:29:44 +02:00
ctdb.reloadnodes.003.sh ctdb-tests: Simplify nodes file handling in tool tests 2018-03-19 02:23:20 +01:00
ctdb.reloadnodes.011.sh ctdb-tests: Drop ctdb tool debug level to NOTICE 2016-07-25 21:29:44 +02:00
ctdb.reloadnodes.012.sh ctdb-tests: Drop ctdb tool debug level to NOTICE 2016-07-25 21:29:44 +02:00
ctdb.reloadnodes.013.sh ctdb-tests: Drop ctdb tool debug level to NOTICE 2016-07-25 21:29:44 +02:00
ctdb.reloadnodes.014.sh ctdb-tests: Drop ctdb tool debug level to NOTICE 2016-07-25 21:29:44 +02:00
ctdb.reloadnodes.015.sh ctdb-tests: Drop ctdb tool debug level to NOTICE 2016-07-25 21:29:44 +02:00
ctdb.reloadnodes.016.sh ctdb-tests: Drop ctdb tool debug level to NOTICE 2016-07-25 21:29:44 +02:00
ctdb.reloadnodes.017.sh ctdb-tests: Drop ctdb tool debug level to NOTICE 2016-07-25 21:29:44 +02:00
ctdb.reloadnodes.018.sh ctdb-tests: Drop ctdb tool debug level to NOTICE 2016-07-25 21:29:44 +02:00
ctdb.reloadnodes.019.sh ctdb-tests: Drop ctdb tool debug level to NOTICE 2016-07-25 21:29:44 +02:00
ctdb.reloadnodes.020.sh ctdb-tests: Drop ctdb tool debug level to NOTICE 2016-07-25 21:29:44 +02:00
ctdb.reloadnodes.021.sh ctdb-tests: Drop ctdb tool debug level to NOTICE 2016-07-25 21:29:44 +02:00
ctdb.reloadnodes.023.sh ctdb-tests: Drop ctdb tool debug level to NOTICE 2016-07-25 21:29:44 +02:00
ctdb.reloadnodes.024.sh ctdb-tests: Drop ctdb tool debug level to NOTICE 2016-07-25 21:29:44 +02:00
ctdb.runstate.001.sh ctdb-tests: Add "ctdb runstate" tool tests 2016-07-25 21:29:46 +02:00
ctdb.runstate.002.sh ctdb-tests: Add "ctdb runstate" tool tests 2016-07-25 21:29:46 +02:00
ctdb.runstate.003.sh ctdb-tests: Add "ctdb runstate" tool tests 2016-07-25 21:29:46 +02:00
ctdb.runstate.004.sh ctdb-tests: Add "ctdb runstate" tool tests 2016-07-25 21:29:46 +02:00
ctdb.runstate.005.sh ctdb-tests: Add "ctdb runstate" tool tests 2016-07-25 21:29:46 +02:00
ctdb.setdbreadonly.001.sh ctdb-tests: Add dbdir option for creating databases in fake_ctdbd 2018-03-27 04:27:24 +02:00
ctdb.setdbreadonly.002.sh ctdb-tests: Add dbdir option for creating databases in fake_ctdbd 2018-03-27 04:27:24 +02:00
ctdb.setdbreadonly.003.sh ctdb-tests: Add dbdir option for creating databases in fake_ctdbd 2018-03-27 04:27:24 +02:00
ctdb.setdbreadonly.004.sh ctdb-tests: Add dbdir option for creating databases in fake_ctdbd 2018-03-27 04:27:24 +02:00
ctdb.setdbreadonly.005.sh ctdb-tests: Add dbdir option for creating databases in fake_ctdbd 2018-03-27 04:27:24 +02:00
ctdb.setdbsticky.001.sh ctdb-tests: Add dbdir option for creating databases in fake_ctdbd 2018-03-27 04:27:24 +02:00
ctdb.setdbsticky.002.sh ctdb-tests: Add dbdir option for creating databases in fake_ctdbd 2018-03-27 04:27:24 +02:00
ctdb.setdbsticky.003.sh ctdb-tests: Add dbdir option for creating databases in fake_ctdbd 2018-03-27 04:27:24 +02:00
ctdb.setdbsticky.004.sh ctdb-tests: Add dbdir option for creating databases in fake_ctdbd 2018-03-27 04:27:24 +02:00
ctdb.setdbsticky.005.sh ctdb-tests: Add dbdir option for creating databases in fake_ctdbd 2018-03-27 04:27:24 +02:00
ctdb.setdebug.001.sh ctdb-tests: Add "ctdb setdebug" tool tests 2016-07-25 21:29:46 +02:00
ctdb.setdebug.002.sh ctdb-tests: Add "ctdb setdebug" tool tests 2016-07-25 21:29:46 +02:00
ctdb.setdebug.003.sh ctdb-logging: Use Samba's debug levels 2016-12-05 08:09:22 +01:00
ctdb.setifacelink.001.sh ctdb-tests: Add "ctdb setifacelink" tool tests 2016-07-25 21:29:46 +02:00
ctdb.setifacelink.002.sh ctdb-tests: Adjust unit test output matching new ctdb 2016-07-28 05:00:17 +02:00
ctdb.setvar.001.sh ctdb-tests: Add "ctdb listvars/getvar/setvar" tool tests 2016-07-25 21:29:46 +02:00
ctdb.setvar.002.sh ctdb-tests: Adjust unit test output matching new ctdb 2016-07-28 05:00:17 +02:00
ctdb.status.001.sh ctdb-tests: Add machinereadable output tests 2016-07-28 05:00:16 +02:00
ctdb.status.002.sh ctdb-tests: Add machinereadable output tests 2016-07-28 05:00:16 +02:00
ctdb.stop.001.sh ctdb-tests: Add "ctdb stop/continue" tool tests 2016-07-25 21:29:47 +02:00
ctdb.stop.002.sh ctdb-tests: Remove duplicate EOF terminators in some tool unit tests 2016-07-28 05:00:18 +02:00
ctdb.stop.003.sh ctdb-tests: Remove duplicate EOF terminators in some tool unit tests 2016-07-28 05:00:18 +02:00
ctdb.unban.001.sh ctdb-tests: Add "ctdb ban/unban" tool tests 2016-07-25 21:29:47 +02:00
ctdb.unban.002.sh ctdb-tests: Add "ctdb ban/unban" tool tests 2016-07-25 21:29:47 +02:00
ctdb.unban.003.sh ctdb-tests: Add "ctdb ban/unban" tool tests 2016-07-25 21:29:47 +02:00
ctdb.uptime.001.sh ctdb-tests: Add "ctdb uptime" tool test 2016-07-25 21:29:44 +02:00
ctdb.writekey.001.sh ctdb-tests: Add volatile database tests 2018-03-27 04:27:24 +02:00
README tests/tool: Remove references in libctdb in file and function names 2013-10-04 15:15:35 +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_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.