Skip to content

Commit

Permalink
Merge pull request #13145 from nextcloud/fix/noid/absolute-path-in-ru…
Browse files Browse the repository at this point in the history
…n-docker

fix(tests): Always use absolute path in run-docker.sh
  • Loading branch information
SystemKeeper authored Aug 29, 2024
2 parents cbc184b + 522a4e5 commit c9d84d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/run-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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"

0 comments on commit c9d84d8

Please sign in to comment.