3 test_description
='basic git gc tests
8 test_expect_success
'gc empty repository' '
12 test_expect_success
'gc --gobbledegook' '
13 test_expect_code 129 git gc --nonsense 2>err &&
14 test_i18ngrep "[Uu]sage: git gc" err
17 test_expect_success
'gc -h with invalid configuration' '
22 echo "[gc] pruneexpire = CORRUPT" >>.git/config &&
23 test_expect_code 129 git gc -h >usage 2>&1
25 test_i18ngrep "[Uu]sage" broken/usage