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