Added a failing test for github/git-lfs#230

This commit is contained in:
Michael Käufl 2015-06-01 12:20:43 +02:00
parent 6e87008890
commit cb9ff2a36f

@ -153,3 +153,19 @@ begin_test "track representation"
fi
)
end_test
begin_test "track absolute"
(
set -e
git init track-absolute
cd track-absolute
git lfs track "$PWD/*.jpg"
grep "^*.jpg" .gitattributes || {
echo ".gitattributes doesn't contain the expected relative path *.jpg:"
cat .gitattributes
exit 1
}
)
end_test