X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft7060-wtstatus.sh;h=fcac4725982096af98414c5d40df2d4c14be9454;hb=9bec60d3a52fa10b276214f8d255d6ff05a04b77;hp=1044aa65494f6c908aa4d70c1590a5577b288f50;hpb=a42332c21723fde9f36b579f6b39a23aa1aac137;p=git.git diff --git a/t/t7060-wtstatus.sh b/t/t7060-wtstatus.sh index 1044aa654..fcac47259 100755 --- a/t/t7060-wtstatus.sh +++ b/t/t7060-wtstatus.sh @@ -31,8 +31,7 @@ test_expect_success 'Report new path with conflict' ' cat >expect <..." to unstage) -# (use "git add ..." to mark resolution) +# (use "git add/rm ..." as appropriate to mark resolution) # # deleted by us: foo # @@ -50,9 +49,11 @@ test_expect_success 'M/D conflict does not segfault' ' git rm foo && git commit -m delete && test_must_fail git merge master && - test_must_fail git status > ../actual - ) && - test_cmp expect actual + test_must_fail git commit --dry-run >../actual && + test_cmp ../expect ../actual && + git status >../actual && + test_cmp ../expect ../actual + ) ' test_done