summaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorChristian Hitz <christian.hitz@aizo.com>2013-08-29 10:03:56 +0200
committerChristian Hitz <christian.hitz@aizo.com>2013-08-29 10:03:56 +0200
commit776cc7cf682959c684cd2f0ee0c9044bee3dac76 (patch)
treedc59dc48f2175b986f5aeaa601619958c8f8aaef /test.sh
parentf0becae702b967e1b963b1a101aca233436272e8 (diff)
downloadgit-fat-776cc7cf682959c684cd2f0ee0c9044bee3dac76.tar.gz
fix handling of broken symlinks
if a symlink has a length of self.magiclen git-fat would crash because it could not read the file
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test.sh b/test.sh
index 8299c6c..e4ee3bb 100755
--- a/test.sh
+++ b/test.sh
@@ -13,6 +13,9 @@ echo '*.fat filter=fat -crlf' > .gitattributes
git add .gitattributes .gitfat
git commit -m'Initial fat repository'
+ln -s /oe/dss-oe/dss-add-ons-testing-build/deploy/licenses/common-licenses/GPL-3 c
+git add c
+git commit -m'add broken symlink'
echo 'fat content a' > a.fat
git add a.fat
git commit -m'add a.fat'