From d950c7399796458bcbfda4d7d8d3de3a24b532dd Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Sat, 11 Oct 2025 17:52:32 +1100 Subject: [PATCH] ctdb-tests: Don't hard code creation of $CTDB_BASE/events/legacy/ MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- ctdb/tests/scripts/common.sh | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.47.3