diff options
| author | Martin Schwenke <martin@meltin.net> | 2012-04-20 16:37:09 +1000 |
|---|---|---|
| committer | Martin Schwenke <martin@meltin.net> | 2012-04-27 15:40:43 +1000 |
| commit | 6764b7b33e0a8f61b51bb4c666205147744917c7 (patch) | |
| tree | 732206c6a0bddcfce6393766e85c5fa3e1019895 /ctdb/tests/tool | |
| parent | 466ff20156bf220b6d67ac18898082635513d658 (diff) | |
| download | samba-6764b7b33e0a8f61b51bb4c666205147744917c7.tar.gz samba-6764b7b33e0a8f61b51bb4c666205147744917c7.tar.xz samba-6764b7b33e0a8f61b51bb4c666205147744917c7.zip | |
tests: Update README files and add new README files where missing
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit bef03b32f8ec114a64c55b25951aeeb939d87b33)
Diffstat (limited to 'ctdb/tests/tool')
| -rw-r--r-- | ctdb/tests/tool/README | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ctdb/tests/tool/README b/ctdb/tests/tool/README new file mode 100644 index 0000000000..d4a4a347da --- /dev/null +++ b/ctdb/tests/tool/README @@ -0,0 +1,19 @@ +Unit tests for the ctdb tool (i.e. tools/ctdb). + +Test case filenames can take 2 forms: + +* func.<some_function>.NNN.sh + + Run <some_function> in the ctdb tool code using the + ctdb_tool_libctdb test program. This test program uses test stubs + for libctdb functions. + +* stubby.<command>.NNN.sh + + Run the ctdb_tool_stubby test program with <command> as the 1st + argument - subsequent are passed to simple_test(). ctdb_tool_stubby + is linked against the test stubs for libctdb functions. + +To add tests here you may need to change commands/functions in the +ctdb tool so that they use libctdb. You will also need to add the +appropriate test stubs. |
