1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00
Martin Schwenke 28345d83c0 tests/tool: New tests for natgwlist, getcapabilities, lvs, lvsmaster
Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 6bd4feff7039138d435428eeded51975c44e567c)
2012-09-28 17:05:34 +10:00
..

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.