revision: implement sparse algorithm
[gitweb.git] / t / t6011-rev-list-with-bad-commit.sh
index e51eb41f4b9575d2b51d8d4d255ff5ab7a0889ad..545b461e51d4fd5df39c7d27953fb0f26f73e052 100755 (executable)
@@ -41,10 +41,9 @@ test_expect_success 'corrupt second commit object' \
    test_must_fail git fsck --full
    '
 
-test_expect_success 'rev-list should fail' \
-   '
-   test_must_fail git rev-list --all > /dev/null
-   '
+test_expect_success 'rev-list should fail' '
+       test_must_fail env GIT_TEST_COMMIT_GRAPH=0 git rev-list --all > /dev/null
+'
 
 test_expect_success 'git repack _MUST_ fail' \
    '