gc: exit with status 128 on failure
[gitweb.git] / t / t6500-gc.sh
index 818435f04e49b50965cd674bf046eb3d494fa939..c474a94a9fd320d769e7611c76dec2fe09be11da 100755 (executable)
@@ -117,7 +117,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 &&