test/fetch: test "fetch --all" using a --bare clone

This commit is contained in:
Taylor Blau 2016-06-16 10:15:11 -06:00
parent 763025c9c0
commit 303e2f08c6

@ -400,6 +400,16 @@ begin_test "fetch-all"
assert_local_object "${oid[$a]}" "${#content[$a]}"
done
# Make a bare clone of the repository
cd ..
git clone --bare "$GITSERVER/$reponame" "$reponame-bare"
cd "$reponame-bare"
# Preform the same assertion as above, on the same data
git lfs fetch --all origin
for ((a=0 a < NUMFILES ; a++)); do
assert_local_object "${oid[$a]}" "${#content[$a]}"
done
)
end_test