]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t7405-submodule-merge.sh
tests: provide $TRASH_DIRECTORY variable
[git.git] / t / t7405-submodule-merge.sh
index 9778ad49cf1c8ac344f20eb50ef0a88e2b2668aa..9a21f783d3a5fedaa56df26919ab8e0456872e90 100755 (executable)
@@ -54,16 +54,16 @@ test_expect_success setup '
        git merge -s ours a
 '
 
-test_expect_failure 'merging with modify/modify conflict' '
+test_expect_success 'merging with modify/modify conflict' '
 
        git checkout -b test1 a &&
        test_must_fail git merge b &&
        test -f .git/MERGE_MSG &&
-       git diff
-
+       git diff &&
+       test -n "$(git ls-files -u)"
 '
 
-test_expect_failure 'merging with a modify/modify conflict between merge bases' '
+test_expect_success 'merging with a modify/modify conflict between merge bases' '
 
        git reset --hard HEAD &&
        git checkout -b test2 c &&