1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/ctdb/tests/UNIT/tool/README
Martin Schwenke 1061bdf29d ctdb-tests: Move tool tests to UNIT/ subdirectory
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2019-09-26 04:45:37 +00:00

18 lines
562 B
Plaintext

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_functest test program. This test program uses test stubs
for CTDB client 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 CTDB client functions.
To add tests here you may need to add appropriate test stubs.