X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/628746149bfb27e1d326e715d40e9ce3dd77583f..cd4aec96b72dda05135696da85b2d6ce7132bcea:/t/t3400-pick.sh diff --git a/t/t3400-pick.sh b/t/t3400-pick.sh index 3bd5c4f..22b348c 100755 --- a/t/t3400-pick.sh +++ b/t/t3400-pick.sh @@ -7,11 +7,11 @@ test_expect_success \ 'Initialize the StGIT repository' \ ' stg init && - stg new A -m "a" && echo A > a && git add a && stg refresh && - stg new B -m "b" && echo B > b && git add b && stg refresh && + stg new A -m "a" && echo A > a && stg add a && stg refresh && + stg new B -m "b" && echo B > b && stg add b && stg refresh && stg branch --clone foo && - stg new C -m "c" && echo C > c && git add c && stg refresh && - stg new D-foo -m "d" && echo D > d && git add d && stg refresh && + stg new C -m "c" && echo C > c && stg add c && stg refresh && + stg new D-foo -m "d" && echo D > d && stg add d && stg refresh && stg branch master ' @@ -39,9 +39,9 @@ test_expect_success \ ' test_expect_success \ - 'Pick --fold --reverse local patch' \ + 'Pick --fold --revert local patch' \ ' - stg pick --fold --reverse D && + stg pick --fold --revert D && stg refresh && stg clean && test "$(echo $(stg series --applied --noprefix))" = "A B C" && test "$(echo $(stg series --unapplied --noprefix))" = "D"