]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tests: Add a useful comment
authorMartin Schwenke <mschwenke@ddn.com>
Wed, 29 Oct 2025 02:58:00 +0000 (13:58 +1100)
committerVolker Lendecke <vl@samba.org>
Wed, 25 Feb 2026 12:33:38 +0000 (12:33 +0000)
Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
ctdb/tests/scripts/common.sh

index ccdb7d6a04cc87a8ed6997d8848492657ed1c02b..a1bba3bd626982f5e0dc53d24a7291932138ece8 100644 (file)
@@ -19,6 +19,9 @@ if [ -d "$CTDB_SCRIPTS_TOOLS_BIN_DIR" ]; then
        PATH="${CTDB_SCRIPTS_TOOLS_BIN_DIR}:${PATH}"
 fi
 
+# Used by integration tests (via test_wrap) and unit tests to run test
+# helpers (built from ctdb/tests/src).  A hacky side-effect is that
+# local_daemons.sh takes advantage of this to be able to find ctdbd.
 if [ -d "$CTDB_SCRIPTS_TESTS_LIBEXEC_DIR" ]; then
        PATH="${CTDB_SCRIPTS_TESTS_LIBEXEC_DIR}:${PATH}"
 fi