Skip to content

Commit 4d49b32

Browse files
committed
Update Nextcloud tests
1 parent 88d288d commit 4d49b32

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

test/tests/nextcloud-apache-run/real-run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dir="$(dirname "$(readlink -f "$BASH_SOURCE")")"
66
serverImage="$1"
77

88
# Use a client image with curl for testing
9-
clientImage='buildpack-deps:buster-curl'
9+
clientImage='buildpack-deps:trixie-curl'
1010
# ensure the clientImage is ready and available
1111
if ! docker image inspect "$clientImage" &> /dev/null; then
1212
docker pull "$clientImage" > /dev/null
@@ -35,5 +35,5 @@ _request() {
3535

3636
# Check that we can request / and that it contains the pattern "Install" somewhere
3737
# <input type="submit" class="primary" value="Install" data-finishing="Installing …">
38-
_request GET '/' | grep -i '"Install"' > /dev/null
38+
_request GET '/' | grep -i -F -- 'a safe home for all your data' > /dev/null
3939
# (https://github.com/nextcloud/server/blob/68b2463107774bed28ee9e77b44e7395d49dacee/core/templates/installation.php#L164)

test/tests/nextcloud-fpm-run/real-run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ image="$1"
88
# Build a client image with cgi-fcgi for testing
99
clientImage='librarytest/nextcloud-fpm-run:fcgi-client'
1010
docker build -t "$clientImage" - > /dev/null <<'EOF'
11-
FROM debian:bookworm-slim
11+
FROM debian:trixie-slim
1212
13-
RUN set -x && apt-get update && apt-get install -y --no-install-recommends libfcgi-bin && rm -rf /var/lib/apt/lists/*
13+
RUN set -x && apt-get update && apt-get install -y --no-install-recommends libfcgi-bin && apt-get dist-clean
1414
1515
ENTRYPOINT ["cgi-fcgi"]
1616
EOF
@@ -45,5 +45,5 @@ fcgi-request() {
4545

4646
# Check that we can request / and that it contains the pattern "Install" somewhere
4747
# <input type="submit" class="primary" value="Install" data-finishing="Installing …">
48-
fcgi-request GET '/index.php' | grep -i '"Install"' > /dev/null
48+
fcgi-request GET '/index.php' | grep -i -F -- 'a safe home for all your data' > /dev/null
4949
# (https://github.com/nextcloud/server/blob/68b2463107774bed28ee9e77b44e7395d49dacee/core/templates/installation.php#L164)

0 commit comments

Comments
 (0)