test-lib: parse options in a for loop to keep $@ intact
[gitweb.git] / t / t5319-multi-pack-index.sh
index bd8e841b816bcb45c8c9ad32079e6172b277bb36..70926b5bc046430a71aa60c711c2a57b8a43f54e 100755 (executable)
@@ -271,7 +271,7 @@ test_expect_success 'git-fsck incorrect offset' '
 
 test_expect_success 'repack removes multi-pack-index' '
        test_path_is_file $objdir/pack/multi-pack-index &&
-       git repack -adf &&
+       GIT_TEST_MULTI_PACK_INDEX=0 git repack -adf &&
        test_path_is_missing $objdir/pack/multi-pack-index
 '