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.
remotes/origin/ldap_group_count
Andreas Fischer 10 years ago
parent 3c9f588449
commit de07f25bc2

@ -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

Loading…
Cancel
Save