Debian Codegraph @

ctdb/tests/UNIT/tool/README

raw
1 Unit tests for the ctdb tool (i.e. tools/ctdb).
2
3 Test case filenames can take 2 forms:
4
5 * func.<some_function>.NNN.sh
6
7 Run <some_function> in the ctdb tool code using the
8 ctdb_tool_functest test program. This test program uses test stubs
9 for CTDB client functions.
10
11 * stubby.<command>.NNN.sh
12
13 Run the ctdb_tool_stubby test program with <command> as the 1st
14 argument - subsequent are passed to simple_test(). ctdb_tool_stubby
15 is linked against the test stubs for CTDB client functions.
16
17 To add tests here you may need to add appropriate test stubs.