summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 51e0d0a)
raw | patch | inline | side by side (parent: 51e0d0a)
author | Junio C Hamano <gitster@pobox.com> | |
Sun, 22 Jun 2008 09:03:26 +0000 (02:03 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 22 Jun 2008 09:03:26 +0000 (02:03 -0700) |
The test used "diff-files -q" which is not about reporting if there is
a difference at all. Instead, make sure that the path remains as
conflicting in the index after rerere autoresolves it, as we will be
adding rerere.autoupdate configuration with the next patch.
a difference at all. Instead, make sure that the path remains as
conflicting in the index after rerere autoresolves it, as we will be
adding rerere.autoupdate configuration with the next patch.
t/t4200-rerere.sh | patch | blob | history |
diff --git a/t/t4200-rerere.sh b/t/t4200-rerere.sh
index 85d7e3edcd04be761167ca87cb39a1597908201e..afb3e3d17619786cce89334e9f8afee0e93d792f 100755 (executable)
--- a/t/t4200-rerere.sh
+++ b/t/t4200-rerere.sh
echo Bello > file3 &&
git add file3 &&
git commit -m version2 &&
- ! git merge fifth &&
- git diff-files -q &&
- test Cello = "$(cat file3)"
+ test_must_fail git merge fifth &&
+ test Cello = "$(cat file3)" &&
+ test 0 != $(git ls-files -u | wc -l)
'
test_done