Fix init test on Windows (may be general bug)

This commit is contained in:
Steve Streeting 2015-10-22 10:56:57 +01:00
parent 58332fcc52
commit 0a29dfda90

@ -161,6 +161,12 @@ end_test
begin_test "init --local outside repository"
(
# If run inside the git-lfs source dir this will update its .git/config & cause issues
if [ "$GIT_LFS_TEST_DIR" == "" ]; then
echo "Skipping init --local because GIT_LFS_TEST_DIR is not set"
exit 0
fi
set +e
[ -n "$LFS_DOCKER" ] && exit 0