X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft2000-checkout-cache-clash.sh;h=f7e1a735ec8699616280a086f59dc50c078bfaa7;hb=b74d7efb108c9d3fd2d057b0c452583552a0577a;hp=5141fab7cf567fc5d16a8e9a296d2aff5f6c67e6;hpb=2d3cfd77ad5305c132f7b23c192ae6c327443c95;p=git.git diff --git a/t/t2000-checkout-cache-clash.sh b/t/t2000-checkout-cache-clash.sh index 5141fab7c..f7e1a735e 100755 --- a/t/t2000-checkout-cache-clash.sh +++ b/t/t2000-checkout-cache-clash.sh @@ -38,7 +38,7 @@ date >path1 test_expect_success \ 'git checkout-index without -f should fail on conflicting work tree.' \ - '! git checkout-index -a' + 'test_must_fail git checkout-index -a' test_expect_success \ 'git checkout-index with -f should succeed.' \