diff options
| author | Junio C Hamano <gitster@pobox.com> | 2018-09-17 13:53:58 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-09-17 13:53:58 -0700 |
| commit | 06880cff3892185ae71839636e2d2c688413eccb (patch) | |
| tree | 384648785a690c489a009f16d4c7d1e39901344d /t/t6011-rev-list-with-bad-commit.sh | |
| parent | b4583001b4387b454b5afffebb8b350fca291393 (diff) | |
| parent | 859fdc0c3cf9ad8cdd5eacaa24aee481bc1e7bc1 (diff) | |
| download | git-06880cff3892185ae71839636e2d2c688413eccb.tar.gz | |
Merge branch 'ds/commit-graph-tests'
We can now optionally run tests with commit-graph enabled.
* ds/commit-graph-tests:
commit-graph: define GIT_TEST_COMMIT_GRAPH
Diffstat (limited to 't/t6011-rev-list-with-bad-commit.sh')
| -rwxr-xr-x | t/t6011-rev-list-with-bad-commit.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/t/t6011-rev-list-with-bad-commit.sh b/t/t6011-rev-list-with-bad-commit.sh index e51eb41f4b..545b461e51 100755 --- a/t/t6011-rev-list-with-bad-commit.sh +++ b/t/t6011-rev-list-with-bad-commit.sh @@ -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' \ ' |
