test-lib: allow negation of prerequisites
[gitweb.git] / t / t1050-large.sh
index 313889b5b4d9b52dc68d64cde3587d41f57c1340..fd105280092b7f655f5c48f09b2e8f5e0ee6d351 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
 '