summaryrefslogtreecommitdiff
path: root/t/t2100-update-cache-badpath.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t2100-update-cache-badpath.sh')
-rwxr-xr-xt/t2100-update-cache-badpath.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t2100-update-cache-badpath.sh b/t/t2100-update-cache-badpath.sh
index 04a1ed1..9beaecd 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