Difference between revisions of "Running CTDB tests"

(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_...")
 
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.