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