X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/48c930db6aaa1559f0d25030c0a9691170fe715c..b51a910fafdea01e64a1d41100f831179bf5f5b5:/t/t2200-rebase.sh diff --git a/t/t2200-rebase.sh b/t/t2200-rebase.sh index 256eaaa..75e1f17 100755 --- a/t/t2200-rebase.sh +++ b/t/t2200-rebase.sh @@ -11,10 +11,10 @@ test_expect_success \ 'Setup a multi-commit branch and fork an stgit stack' \ ' echo foo > file1 && - git add file1 && + stg add file1 && git commit -m a && echo foo > file2 && - git add file2 && + stg add file2 && git commit -m b && stg branch --create stack && @@ -28,7 +28,7 @@ test_expect_success \ ' stg rebase master~1 && test `stg id stack:{base}` = `git rev-parse master~1` && - test `stg applied | wc -l` = 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