summaryrefslogtreecommitdiff
path: root/ctdb/tests/src/protocol_common_basic.h
AgeCommit message (Collapse)AuthorFilesLines
2022-02-14ctdb-tests: Add iteration support for protocol testsMartin Schwenke1-0/+5
The current method of repeatedly running a binary has huge overhead, especially with valgrind. protocol_test_iterate_tag() allows output that is usually used for hinting where a test failure occurred to be replaced with a tag stored in a buffer, which is printed on test failure. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2018-07-05ctdb-tests: Separate testing code for basic data typesAmitay Isaacs1-0/+170
This will be used for testing other daemons' protocol code. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>