X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/92d99c04b37e536ef01dad4f9936a67f1da710fa..9b4a6e70a1390d653201e48e12d09005b3fba6c8:/t/t1201-pull-trailing.sh diff --git a/t/t1201-pull-trailing.sh b/t/t1201-pull-trailing.sh index 42c6619..9d70fe0 100755 --- a/t/t1201-pull-trailing.sh +++ b/t/t1201-pull-trailing.sh @@ -28,11 +28,12 @@ test_expect_success \ test_expect_success \ 'Port those patches to orig tree' \ - "(cd foo && - GIT_DIR=../bar/.git git-format-patch --stdout bases/master..HEAD | + '(cd foo && + GIT_DIR=../bar/.git git-format-patch --stdout \ + $(cd ../bar && stg id base@master)..HEAD | git-am -3 -k ) -" + ' test_expect_success \ 'Pull those patches applied upstream, without pushing' \ @@ -54,7 +55,7 @@ test_expect_success \ test_expect_success \ 'Check that all went well' \ - "diff -u foo/file bar/file + "test_cmp foo/file bar/file " test_done