X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft2100-update-cache-badpath.sh;h=6ef2dcfd8afece86aaf6345630179af179eb2ed9;hb=b75271d93a9e4be960d53fc4f955802530e0e733;hp=9beaecd18b25cb7e22b09c11234c05a8fa1d4116;hpb=eadbcd498a18d60467883aeb6c0726048e7382a2;p=git.git diff --git a/t/t2100-update-cache-badpath.sh b/t/t2100-update-cache-badpath.sh index 9beaecd18..6ef2dcfd8 100755 --- a/t/t2100-update-cache-badpath.sh +++ b/t/t2100-update-cache-badpath.sh @@ -46,6 +46,6 @@ for p in path0/file0 path1/file1 path2 path3 do test_expect_success \ "git update-index to add conflicting path $p should fail." \ - "! git update-index --add -- $p" + "test_must_fail git update-index --add -- $p" done test_done