Use git checkout on directory as some files may not be in git resulting in, e.g.:

error: pathspec 'tests/data/lorem-copy.txt' did not match any file(s) known to git.
error: pathspec 'tests/data/testimage-copy.png' did not match any file(s) known to git.
This commit is contained in:
Andreas Fischer 2014-04-07 14:06:20 +02:00
parent 3c9f588449
commit de07f25bc2
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ function execute_tests {
cd $BASEDIR
# revert changes to tests/data
git checkout tests/data/*
git checkout tests/data
# reset data directory
rm -rf $DATADIR