]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tests: Don't hard code creation of $CTDB_BASE/events/legacy/
authorMartin Schwenke <mschwenke@ddn.com>
Sat, 11 Oct 2025 06:52:32 +0000 (17:52 +1100)
committerRalph Boehme <slow@samba.org>
Tue, 14 Oct 2025 17:57:49 +0000 (17:57 +0000)
setup_ctdb_base() should always create from etc-ctdb/.  That directory
may be changed to not include the legacy/ component subdirectory, so
don't hard-code this particular subdirectory.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Oct 14 17:57:49 UTC 2025 on atb-devel-224

ctdb/tests/scripts/common.sh

index eb2c4c0a8a5ca0ea635ccf0bc15eba2f5b14ec1c..ccdb7d6a04cc87a8ed6997d8848492657ed1c02b 100644 (file)
@@ -137,8 +137,6 @@ setup_ctdb_base()
                cp -pr "${CTDB_SCRIPTS_BASE}/${_i}" "${CTDB_BASE}/"
        done
 
-       mkdir -p "${CTDB_BASE}/events/legacy"
-
        if [ -z "$CTDB_TEST_SUITE_DIR" ]; then
                return
        fi