3 test_description
='basic checkout-index tests
8 test_expect_success
'checkout-index --gobbledegook' '
9 test_expect_code 129 git checkout-index --gobbledegook 2>err &&
10 test_i18ngrep "[Uu]sage" err
13 test_expect_success
'checkout-index -h in broken repository' '
19 test_expect_code 129 git checkout-index -h >usage 2>&1
21 test_i18ngrep "[Uu]sage" broken/usage