diff options
author | Martin Schwenke <martin@meltin.net> | 2012-04-27 17:19:45 +1000 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2012-04-27 17:19:45 +1000 |
commit | c30356c1408d2e15e48dd6561e7c2c0cf0e3df26 (patch) | |
tree | ef8ce8666de7d7b1c41cd006d0da94cc0721eccc /ctdb/tests/README | |
parent | a4f4df233fafe4bda1ebdf906947d4bfb5955ce3 (diff) | |
download | samba-c30356c1408d2e15e48dd6561e7c2c0cf0e3df26.tar.gz |
tests: Update README
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit e9fad1ff82e6fb9e6bf615986c41c746fd415058)
Diffstat (limited to 'ctdb/tests/README')
-rw-r--r-- | ctdb/tests/README | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/ctdb/tests/README b/ctdb/tests/README index 87c7db397e0..1c9983b0922 100644 --- a/ctdb/tests/README +++ b/ctdb/tests/README @@ -14,7 +14,10 @@ When running tests against a real or virtual cluster the script tests/run_cluster_tests.sh can be used. This runs all integration tests (simple, complex). -Both of these scripts can also take a list of tests to run. +Both of these scripts can also take a list of tests to run. You can +also pass options, which are then passed to run_tests. However, if +you just try to pass options to run_tests then you lose the default +list of tests that are run. You can't have everything... scripts/run_tests ----------------- @@ -41,6 +44,20 @@ include: -e Exit on the first test failure + -C Clean up - kill daemons and remove $TEST_VAR_DIR when done + + Tests uses a temporary/var directory for test state. By default, + this directory is not removed when tests are complete, so you + can do forensics or, for integration tests, re-run tests that + have failed against the same directory (with the same local + daemons setup). So this option cleans things up. + + Also kills local daemons associated with directory. + + -V Use <dir> as $TEST_VAR_DIR + + Use the specified temporary temporary/var directory. + -H No headers - for running single test with other wrapper This allows tests to be embedded in some other test framework |