index-pack: use streaming interface on large blobs (most of the time)
[gitweb.git] / t / t1050-large.sh
index 55ed955ceffee9184b5822054697f58e7d0ef6a4..3f806889a9e3bd4118e279ebafb84154f24c2853 100755 (executable)
@@ -130,6 +130,11 @@ test_expect_success 'git-show a large file' '
 
 '
 
+test_expect_success 'index-pack' '
+       git clone file://"`pwd`"/.git foo &&
+       GIT_DIR=non-existent git index-pack --strict --verify foo/.git/objects/pack/*.pack
+'
+
 test_expect_success 'repack' '
        git repack -ad
 '