X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/dbb0cf2c1d46199f8a4cc5e1b52b9a24494f794e..fd52912d651e59701714b4b957757bca4725a728:/t/t2101-pull-policy-pull.sh diff --git a/t/t2101-pull-policy-pull.sh b/t/t2101-pull-policy-pull.sh index 69b0fae..777ccb5 100755 --- a/t/t2101-pull-policy-pull.sh +++ b/t/t2101-pull-policy-pull.sh @@ -22,7 +22,7 @@ test_expect_success \ git config branch.master.stgit.pull-policy pull && git config --list && stg new c1 -m c1 && - echo a > file && stg add file && stg refresh + echo a > file && git add file && stg refresh ) ' @@ -30,7 +30,7 @@ test_expect_success \ 'Add non-rewinding commit upstream and pull it from clone' \ ' (cd upstream && stg new u1 -m u1 && - echo a > file2 && stg add file2 && stg refresh) && + echo a > file2 && git add file2 && stg refresh) && (cd clone && stg pull) && test -e clone/file2 ' @@ -43,7 +43,7 @@ test_expect_success \ 'Rewind/rewrite upstream commit and pull it from clone, without --merged' \ ' (cd upstream && echo b >> file2 && stg refresh) && - (cd clone && ! stg pull) + (cd clone && conflict_old stg pull) ' test_expect_success \