X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft2000-checkout-cache-clash.sh;h=5141fab7cf567fc5d16a8e9a296d2aff5f6c67e6;hb=e896912c5edb8f989a2d25e101b2eb14f1a56aa9;hp=ac84335b0a47fe1d26794e4c92f00d0ed051e540;hpb=105c21df14531bf2fd39e05b4c3a9aa31349da06;p=git.git diff --git a/t/t2000-checkout-cache-clash.sh b/t/t2000-checkout-cache-clash.sh index ac84335b0..5141fab7c 100755 --- a/t/t2000-checkout-cache-clash.sh +++ b/t/t2000-checkout-cache-clash.sh @@ -36,9 +36,9 @@ mkdir path0 date >path0/file0 date >path1 -test_expect_failure \ +test_expect_success \ 'git checkout-index without -f should fail on conflicting work tree.' \ - 'git checkout-index -a' + '! git checkout-index -a' test_expect_success \ 'git checkout-index with -f should succeed.' \