Added a failing test for github/git-lfs#230
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user