From: Martin Schwenke Date: Sat, 11 Oct 2025 06:52:32 +0000 (+1100) Subject: ctdb-tests: Don't hard code creation of $CTDB_BASE/events/legacy/ X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d950c7399796458bcbfda4d7d8d3de3a24b532dd;p=thirdparty%2Fsamba.git ctdb-tests: Don't hard code creation of $CTDB_BASE/events/legacy/ 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 Reviewed-by: Ralph Boehme Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Tue Oct 14 17:57:49 UTC 2025 on atb-devel-224 --- diff --git a/ctdb/tests/scripts/common.sh b/ctdb/tests/scripts/common.sh index eb2c4c0a8a5..ccdb7d6a04c 100644 --- a/ctdb/tests/scripts/common.sh +++ b/ctdb/tests/scripts/common.sh @@ -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