Tests: add initial onnode tests
[vlendec/samba-autobuild/.git] / ctdb / tests / onnode / README
1 onnode unit tests
2 =================
3
4 Examples:
5
6 * ./run_tests.sh
7
8   Run all tests, displaying output.
9
10 * ./run_tests.sh -s
11
12   Run all tests, displaying output and a summary.
13
14 * ./run_tests.sh -sq
15
16   Run all tests, displaying only a summary.
17
18 * ONNODE=onnode-buggy-001 ./run_tests.sh -s
19
20   Run against bin/onnode-buggy-001 instead of default onnode version.
21
22   Add more buggy versions of onnode to this directory as bugs are
23   fixed to enable test validation using this feature.
24
25 * ./run_tests.sh ./009*.sh
26
27   Run only the specified tests.
28
29 * ONNODE="bash -x bin/onnode-buggy-001" ./run_tests.sh ./0090.sh
30   ONNODE="bash -x ../../tools/onnode" ./run_tests.sh ./0090.sh
31
32   Debug the specified test or test failure.  The test will fail
33   because the bash trace output will be included in the test output.
34   However, this at least makes it easy to trace onnode while running
35   the test...
36
37   To see if the test pases, the -x can be dropped... so command-line
38   editing can be kept to a minimum.