mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-24 21:56:12 +01:00
[BUGFIX] Avoid unsupported option for podman
(#1089)
The TYPO3 core runTests.sh has been using the uid option for the tmpfs mount in the past and removed it due to the fact it's not supported by the podman container binary. This has been missed to change along with the introduction of the `-b` container binary option in #1075 and therefore the podmand and docker dual support. For example, following ```shell --tmpfs ${ROOT_DIR}/typo3temp/var/tests/functional-sqlite-dbs/:rw,noexec,nosuid,uid=${HOST_UID} ``` is changed to ```shell --tmpfs ${ROOT_DIR}/typo3temp/var/tests/functional-sqlite-dbs/:rw,noexec,nosuid ``` which works for both binaries in case of tmpfs mounts. Resolves: #1087 Resolves: #1083 Related: #1075
This commit is contained in:
parent
d97d66206f
commit
7f8f379fea
1 changed files with 1 additions and 1 deletions
|
@ -564,7 +564,7 @@ case ${TEST_SUITE} in
|
|||
sqlite)
|
||||
# create sqlite tmpfs mount typo3temp/var/tests/functional-sqlite-dbs/ to avoid permission issues
|
||||
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,uid=${HOST_UID}"
|
||||
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}
|
||||
SUITE_EXIT_CODE=$?
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue