X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/d756053f114b1fdf46c2694e940f1197822afcc7..d0329a7785d86495fd02ca595d9cb94fc67cdf4d:/t/t2200-rebase.sh diff --git a/t/t2200-rebase.sh b/t/t2200-rebase.sh index a6f43bc..adbf242 100755 --- a/t/t2200-rebase.sh +++ b/t/t2200-rebase.sh @@ -27,8 +27,8 @@ test_expect_success \ 'Rebase to previous commit' \ ' stg rebase master~1 && - test `stg id base@stack` = `git rev-parse master~1` && - test `stg applied | wc -l` = 1 + test `stg id stack:{base}` = `git rev-parse master~1` && + test `stg series --applied -c` = 1 ' test_expect_success \ @@ -40,7 +40,7 @@ test_expect_success \ test_expect_success \ 'Check patches were re-applied' \ ' - test $(stg applied | wc -l) = 1 + test $(stg series --applied -c) = 1 ' test_done