From: Joas Schilling Date: Mon, 18 Mar 2019 14:21:42 +0000 (+0100) Subject: Improve startup speed of acceptance tests X-Git-Tag: v16.0.0beta1~25^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F14737%2Fhead;p=nextcloud-server.git Improve startup speed of acceptance tests Signed-off-by: Joas Schilling --- diff --git a/tests/acceptance/run.sh b/tests/acceptance/run.sh index 366e7a67bf5..3e7e0a570ff 100755 --- a/tests/acceptance/run.sh +++ b/tests/acceptance/run.sh @@ -147,7 +147,18 @@ function prepareDocker() { # "docker cp" does not take them into account (the extracted files are set # to root). echo "Copying local Git working directory of Nextcloud to the container" - tar --create --file="$NEXTCLOUD_LOCAL_TAR" --exclude=".git" --exclude="./build" --exclude="./config/config.php" --exclude="./data" --exclude="./data-autotest" --exclude="./tests" --exclude="./apps-extra" --exclude="apps-writable" --directory=../../ . + tar --create --file="$NEXTCLOUD_LOCAL_TAR" \ + --exclude=".git" \ + --exclude="./build" \ + --exclude="./config/config.php" \ + --exclude="./data" \ + --exclude="./data-autotest" \ + --exclude="./tests" \ + --exclude="./apps-extra" \ + --exclude="./apps-writable" \ + --exclude="node_modules" \ + --directory=../../ \ + . tar --append --file="$NEXTCLOUD_LOCAL_TAR" --directory=../../ tests/acceptance/ docker exec $NEXTCLOUD_LOCAL_CONTAINER mkdir /nextcloud