Merge branch 'sg/t6500-no-redirect-of-stdin'
[gitweb.git] / t / t5300-pack-object.sh
index 65ff60f2ee9b4af61f3f2d7d0f889fc4529e2b60..54eff03851dfcb6ba0d4a41a4d0a221edde43729 100755 (executable)
@@ -457,6 +457,11 @@ test_expect_success !PTHREADS,C_LOCALE_OUTPUT 'pack-objects --threads=N or pack.
        grep -F "no threads support, ignoring pack.threads" err
 '
 
+test_expect_success 'pack-objects in too-many-packs mode' '
+       GIT_TEST_FULL_IN_PACK_ARRAY=1 git repack -ad &&
+       git fsck
+'
+
 #
 # WARNING!
 #