Running CTDB tests: Difference between revisions

From SambaWiki
(Created page with "= 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_...")
 
No edit summary
Line 6: Line 6:
[wait a while]
[wait a while]
$ ./tests/local_daemons.sh foo print-log all | less
$ ./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.

Revision as of 11:14, 2 March 2020

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.