summaryrefslogtreecommitdiffstats
path: root/t/t6500-gc.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-16 09:16:02 +0200
committerJunio C Hamano <gitster@pobox.com>2018-10-16 09:16:02 +0200
commit99913dd11809b2a5d6a4644c52bc795d124d48e0 (patch)
tree1031108154d09f1dff07b9a8799221be3597e083 /t/t6500-gc.sh
parentMerge branch 'md/test-cleanup' (diff)
parentgc: exit with status 128 on failure (diff)
downloadgit-99913dd11809b2a5d6a4644c52bc795d124d48e0.tar.xz
git-99913dd11809b2a5d6a4644c52bc795d124d48e0.zip
Merge branch 'jn/gc-auto-prep'
Code clean-up. * jn/gc-auto-prep: gc: exit with status 128 on failure gc: improve handling of errors reading gc.log
Diffstat (limited to 't/t6500-gc.sh')
-rwxr-xr-xt/t6500-gc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t6500-gc.sh b/t/t6500-gc.sh
index b3fbd87ee7..76a2d25dd2 100755
--- a/t/t6500-gc.sh
+++ b/t/t6500-gc.sh
@@ -138,7 +138,7 @@ test_expect_success 'background auto gc does not run if gc.log is present and re
test_config gc.autodetach true &&
echo fleem >.git/gc.log &&
test_must_fail git gc --auto 2>err &&
- test_i18ngrep "^error:" err &&
+ test_i18ngrep "^fatal:" err &&
test_config gc.logexpiry 5.days &&
test-tool chmtime =-345600 .git/gc.log &&
test_must_fail git gc --auto &&