X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft2000-checkout-cache-clash.sh;h=f7e1a735ec8699616280a086f59dc50c078bfaa7;hb=2b603260f325b895baa20867bd45c8e251f19b78;hp=5141fab7cf567fc5d16a8e9a296d2aff5f6c67e6;hpb=a6828f536119c3288b0be772e3870f1a464d017d;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.' \