diff options
author | Joas Schilling <coding@schilljs.com> | 2019-03-18 15:21:42 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-03-18 15:21:42 +0100 |
commit | b35791358702cad070e902a9b4b9370176588a9a (patch) | |
tree | 49c29775bf529e8f6c2032f9074708ebc1861d8e /tests/acceptance | |
parent | 4824d278f9e530d7c5111dc75a1186e7b3ec580e (diff) | |
download | nextcloud-server-b35791358702cad070e902a9b4b9370176588a9a.tar.gz nextcloud-server-b35791358702cad070e902a9b4b9370176588a9a.zip |
Improve startup speed of acceptance tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/acceptance')
-rwxr-xr-x | tests/acceptance/run.sh | 13 |
1 files changed, 12 insertions, 1 deletions
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 |