X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft2100-update-cache-badpath.sh;h=9beaecd18b25cb7e22b09c11234c05a8fa1d4116;hb=923d44aeb7cb6d21eeb459fdc1b58137e37c2b1c;hp=04a1ed1a6b9dd4eabc2b95d348b77b0fd08b0da4;hpb=c576304d512df18fa30b91bb3ac15478d5d4dfb1;p=git.git diff --git a/t/t2100-update-cache-badpath.sh b/t/t2100-update-cache-badpath.sh index 04a1ed1a6..9beaecd18 100755 --- a/t/t2100-update-cache-badpath.sh +++ b/t/t2100-update-cache-badpath.sh @@ -44,8 +44,8 @@ date >path1/file1 for p in path0/file0 path1/file1 path2 path3 do - test_expect_failure \ + test_expect_success \ "git update-index to add conflicting path $p should fail." \ - "git update-index --add -- $p" + "! git update-index --add -- $p" done test_done