Skip to content

Commit

Permalink
Merge pull request #11284 from nextcloud/stable13-11268-include-empty…
Browse files Browse the repository at this point in the history
…-directories-in-the-default-state-of-acceptance-tests

[stable13] Include empty directories in the default state of acceptance tests
  • Loading branch information
blizzz authored Sep 19, 2018
2 parents a588916 + b912225 commit df70480
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/acceptance/run-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ tests/acceptance/installAndConfigureServer.sh $INSTALL_AND_CONFIGURE_SERVER_PARA

echo "Saving the default state so acceptance tests can reset to it"
find . -name ".gitignore" -exec rm --force {} \;
# Create dummy files in empty directories to force Git to save the directories.
find . -not -path "*.git*" -type d -empty -exec touch {}/.keep \;
git add --all && echo 'Default state' | git -c user.name='John Doe' -c user.email='john@doe.org' commit --quiet --file=-

cd tests/acceptance
Expand Down

0 comments on commit df70480

Please sign in to comment.