X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/ee11a2896d0815d1530c5dc2a7e4719409b7833f..48d0a85006ac9c58a277391ffdae5560f0a75cbb:/t/t2800-goto-subdir.sh diff --git a/t/t2800-goto-subdir.sh b/t/t2800-goto-subdir.sh index 855972b..5960bd6 100755 --- a/t/t2800-goto-subdir.sh +++ b/t/t2800-goto-subdir.sh @@ -36,7 +36,8 @@ test_expect_success 'Prepare conflicting goto' ' stg delete p2 ' -cat > expected1.txt < expected1a.txt <>>>>>> patched:foo/bar EOF + +# ... and this result after commit 606475f3. +cat > expected1b.txt <>>>>>> patched +EOF + cat > expected2.txt < actual.txt && - test_cmp expected1.txt actual.txt && + ( test_cmp expected1a.txt actual.txt \ + || test_cmp expected1b.txt actual.txt ) && ls foo > actual.txt && test_cmp expected2.txt actual.txt '