]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb-tests: Allow tunables unit test to process a second file
authorMartin Schwenke <mschwenke@ddn.com>
Wed, 25 Jun 2025 12:14:05 +0000 (22:14 +1000)
committerMartin Schwenke <martins@samba.org>
Tue, 22 Jul 2025 23:02:34 +0000 (23:02 +0000)
commitde069d6b950531b3c2ad4584ae661980bd25a982
tree083a88bf2b6d175805cf4a5e10944418f64deba9
parent4352a8da5ac05b8745b6197fa80774d8b0fe5f4b
ctdb-tests: Allow tunables unit test to process a second file

The second file is optional.

Make $tfile the default to avoid having to update all of the single
file testcases.

Add test cases for second file.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/UNIT/cunit/tunable_test_001.sh
ctdb/tests/src/tunable_test.c