X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/f9d9a06200ab37e52ac737ce9e3c050100e5aa15..d34d6e351e9708f4a5ce519e508abbc418285b5e:/t/t1200-push-modified.sh diff --git a/t/t1200-push-modified.sh b/t/t1200-push-modified.sh index 113e41d..2077492 100755 --- a/t/t1200-push-modified.sh +++ b/t/t1200-push-modified.sh @@ -35,8 +35,8 @@ test_expect_success \ 'Port those patches to orig tree' ' ( cd foo && - GIT_DIR=../bar/.git git-format-patch --stdout \ - $(cd ../bar && stg id master:{base})..HEAD | git-am -3 -k + GIT_DIR=../bar/.git git format-patch --stdout \ + $(cd ../bar && stg id master:{base})..HEAD | git am -3 -k ) ' @@ -49,14 +49,14 @@ test_expect_success \ test_expect_success \ 'Attempt to push the first of those patches without --merged' \ - "(cd bar && conflict_old stg push + "(cd bar && conflict stg push ) " test_expect_success \ 'Rollback the push' ' ( - cd bar && stg push --undo && + cd bar && stg undo --hard && [ "$(echo $(stg series --applied --noprefix))" = "" ] && [ "$(echo $(stg series --unapplied --noprefix))" = "p1 p2" ] )