From 823d4c406d359617ffbe75ef4fe3a45a7462d52f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BCrk?= Date: Tue, 7 May 2024 12:31:15 +0200 Subject: [PATCH] [BUGFIX] Display static driver info for sqlite and postgres (#1281) In the PHP world there are only one driver for SQLite and Postgres available. `runTests.sh` disallows to specify a driver for SQLite or Postgres and therefore setting the variable would make that check more complex. This change modifies the driver information for SQLite and Postgres to use hardcoded driver output to keep the cross check for specifing a driver for these database vendors. Resolves: #1278 --- Build/Scripts/runTests.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Build/Scripts/runTests.sh b/Build/Scripts/runTests.sh index 9fbd670..a9b98d9 100755 --- a/Build/Scripts/runTests.sh +++ b/Build/Scripts/runTests.sh @@ -630,11 +630,14 @@ echo "TYPO3: ${CORE_VERSION}" >&2 echo "CONTAINER_BIN: ${CONTAINER_BIN}" if [[ ${TEST_SUITE} =~ ^functional$ ]]; then case "${DBMS}" in - mariadb|mysql|postgres) + mariadb|mysql) echo "DBMS: ${DBMS} version ${DBMS_VERSION} driver ${DATABASE_DRIVER}" >&2 ;; + postgres) + echo "DBMS: ${DBMS} version ${DBMS_VERSION} driver pdo_pgsql" >&2 + ;; sqlite) - echo "DBMS: ${DBMS}" >&2 + echo "DBMS: ${DBMS} driver pdo_sqlite" >&2 ;; esac fi