From 522a4e5d18f2e8754ea6996a8d7966ccae1dcc16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Mon, 26 Aug 2024 21:15:32 +0200 Subject: [PATCH] fix(tests): Always use absolute path in run-docker.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- tests/integration/run-docker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/run-docker.sh b/tests/integration/run-docker.sh index ed7ce6ab543..18670f7ef1f 100755 --- a/tests/integration/run-docker.sh +++ b/tests/integration/run-docker.sh @@ -158,7 +158,7 @@ function prepareDocker() { fi echo "Installing Nextcloud in the container" - docker exec $NEXTCLOUD_LOCAL_CONTAINER bash -c "cd nextcloud && php occ maintenance:install --admin-pass=admin $NEXTCLOUD_LOCAL_CONTAINER_INSTALL_DATABASE_OPTIONS" + docker exec $NEXTCLOUD_LOCAL_CONTAINER bash -c "cd /nextcloud && php occ maintenance:install --admin-pass=admin $NEXTCLOUD_LOCAL_CONTAINER_INSTALL_DATABASE_OPTIONS" } # Removes/stops temporal elements created/started by this script. @@ -257,4 +257,4 @@ prepareDocker echo "Running tests" # --tty is needed to get colourful output. -docker exec --tty $NEXTCLOUD_LOCAL_CONTAINER bash -c "cd nextcloud/apps/spreed/tests/integration && ./run.sh $SCENARIO_TO_RUN" +docker exec --tty $NEXTCLOUD_LOCAL_CONTAINER bash -c "cd /nextcloud/apps/spreed/tests/integration && ./run.sh $SCENARIO_TO_RUN"