Merge branch 'tr/previous-branch'
[gitweb.git] / t / t2000-checkout-cache-clash.sh
index ac84335b0a47fe1d26794e4c92f00d0ed051e540..f7e1a735ec8699616280a086f59dc50c078bfaa7 100755 (executable)
@@ -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'
+    'test_must_fail git checkout-index -a'
 
 test_expect_success \
     'git checkout-index with -f should succeed.' \