mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 00:36:13 +01:00

[BUGFIX] No longer create not needed temp folder (#1394)

Resolves: #1222
This commit is contained in:
Eike Starkmann 2024-07-30 14:06:23 +02:00 committed by GitHub
parent 0dce81e9ca
commit 1571ef0cff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -559,10 +559,9 @@ case ${TEST_SUITE} in
SUITE_EXIT_CODE=$? SUITE_EXIT_CODE=$?
;; ;;
sqlite) sqlite)
# create sqlite tmpfs mount typo3temp/var/tests/functional-sqlite-dbs/ to avoid permission issues CONTAINERPARAMS="-e typo3DatabaseDriver=pdo_sqlite"
mkdir -p "${ROOT_DIR}/typo3temp/var/tests/functional-sqlite-dbs/"
CONTAINERPARAMS="-e typo3DatabaseDriver=pdo_sqlite --tmpfs ${ROOT_DIR}/typo3temp/var/tests/functional-sqlite-dbs/:rw,noexec,nosuid"
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name functional-${SUFFIX} ${XDEBUG_MODE} -e XDEBUG_CONFIG="${XDEBUG_CONFIG}" ${CONTAINERPARAMS} ${IMAGE_PHP} ${COMMAND} ${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name functional-${SUFFIX} ${XDEBUG_MODE} -e XDEBUG_CONFIG="${XDEBUG_CONFIG}" ${CONTAINERPARAMS} ${IMAGE_PHP} ${COMMAND}
echo "${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name functional-${SUFFIX} ${XDEBUG_MODE} -e XDEBUG_CONFIG=\"${XDEBUG_CONFIG}\" ${CONTAINERPARAMS} ${IMAGE_PHP} ${COMMAND}"
SUITE_EXIT_CODE=$? SUITE_EXIT_CODE=$?
;; ;;
esac esac