1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/ctdb/tests/onnode
Martin Schwenke b933b91a0b ctdb-scripts: Update important installed files to use build-time defaults
In this case: ctdbd_wrapper, onnode, ctdb_diagnostics, ctdb.sudoers.
Set sensible defaults from configure options.

Update documentation to match, trying to fix up anything that has been
missed before.

The onnode unit tests need a symlink to the functions file.
The simple integration tests need to set CTDB_BASE and also
need symlinks to functions/nodes.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Jose A. Rivera <jarrpa@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>

fixup

Signed-off-by: Martin Schwenke <martin@meltin.net>
2015-09-15 08:56:21 +02:00
..
scripts ctdb-tests: Add test cleanup hooks 2015-07-09 06:23:21 +02:00
stubs ctdb-tools: Update onnode and ctdb-diagnostics to use ctdb -X 2014-12-05 21:02:40 +01:00
0001.sh tests/onnode - Restructure according to new convention 2012-04-16 15:57:16 +10:00
0002.sh tests/onnode - Restructure according to new convention 2012-04-16 15:57:16 +10:00
0003.sh tests/onnode - Restructure according to new convention 2012-04-16 15:57:16 +10:00
0004.sh tests/onnode - Restructure according to new convention 2012-04-16 15:57:16 +10:00
0005.sh tests/onnode - Restructure according to new convention 2012-04-16 15:57:16 +10:00
0006.sh tests/onnode - Restructure according to new convention 2012-04-16 15:57:16 +10:00
0070.sh ctdb-tools: Update onnode and ctdb-diagnostics to use ctdb -X 2014-12-05 21:02:40 +01:00
0071.sh ctdb-tools: Update onnode and ctdb-diagnostics to use ctdb -X 2014-12-05 21:02:40 +01:00
0072.sh ctdb-tools: Update onnode and ctdb-diagnostics to use ctdb -X 2014-12-05 21:02:40 +01:00
0075.sh ctdb-tools: Update onnode and ctdb-diagnostics to use ctdb -X 2014-12-05 21:02:40 +01:00
0080.sh tests/onnode - Restructure according to new convention 2012-04-16 15:57:16 +10:00
0081.sh tests/onnode - Restructure according to new convention 2012-04-16 15:57:16 +10:00
0090.sh tests/onnode - Restructure according to new convention 2012-04-16 15:57:16 +10:00
0091.sh tests/onnode - Restructure according to new convention 2012-04-16 15:57:16 +10:00
functions ctdb-scripts: Update important installed files to use build-time defaults 2015-09-15 08:56:21 +02:00
nodes Tests: add initial onnode tests 2011-08-03 15:51:44 +10:00
README tests: Make run_tests -X more flexible - it now works with onnode 2012-04-27 15:40:43 +10:00

onnode unit tests
=================

Examples:

* ../run_tests.sh .

  Run all tests, displaying output.

* ../run_tests.sh -s .

  Run all tests, displaying output and a summary.

* ../run_tests.sh -sq .

  Run all tests, displaying only a summary.

* ONNODE=onnode-buggy-001 ../run_tests.sh -s .

  Run against stubs/onnode-buggy-001 instead of default onnode version.

  Add more buggy versions of onnode to this directory as bugs are
  fixed to enable test validation using this feature.

* ../run_tests.sh ./009*.sh

  Run only the specified tests.

* ONNODE="stubs/onnode-buggy-001" ../run_tests.sh -X ./0090.sh
  ../run_tests.sh -X ./0090.sh

  Debug the specified test or test failure by tracing onnode with
  "bash -x".  The test will fail because the bash trace output will be
  included in the test output.

  To see if the test pases, the -X can be dropped...