Running CTDB tests

From SambaWiki
Revision as of 11:14, 2 March 2020 by Slowfranklin (talk | contribs)

Starting a ctdb test environment

$ cd ctdb
$ ./tests/local_daemons.sh foo setup -P /dev/null
$ ./tests/local_daemons.sh foo start all
[wait a while]
$ ./tests/local_daemons.sh foo print-log all | less

Running tests

$ tests/run_tests.sh UNIT/

See ctdb/tests/README for general information on how to run tests locally.