From cb9ff2a36f452b2fd7ea66d6bc34cea91b9b8566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=A4ufl?= Date: Mon, 1 Jun 2015 12:20:43 +0200 Subject: [PATCH] Added a failing test for github/git-lfs#230 --- test/test-track.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test/test-track.sh b/test/test-track.sh index ee204727..2c9168d9 100755 --- a/test/test-track.sh +++ b/test/test-track.sh @@ -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