X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/eda45dbaabfc0b9991bb7626eddaacfa797048a5..de8efe1efc4a495eca0614aa9f6c1910d5838f99:/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"