X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/9b4a6e70a1390d653201e48e12d09005b3fba6c8..1d694f9b45e3dfef8916cf3d09e02ab4553f2030:/t/t1202-push-undo.sh diff --git a/t/t1202-push-undo.sh b/t/t1202-push-undo.sh index b602643..14a3d6d 100755 --- a/t/t1202-push-undo.sh +++ b/t/t1202-push-undo.sh @@ -3,10 +3,10 @@ # Copyright (c) 2006 Catalin Marinas # -test_description='Exercise push --undo with missing files. +test_description='Exercise stg undo with push of missing files. Test the case where a patch fails to be pushed because it modifies a -missing file. The "push --undo" command has to be able to revert it. +missing file. The "stg undo" command has to be able to revert it. ' . ./test-lib.sh @@ -43,19 +43,19 @@ test_expect_success \ test_expect_success \ 'Push the second patch with conflict' \ ' - ! stg push bar + conflict stg push bar ' test_expect_success \ 'Undo the previous push' \ ' - stg push --undo + stg undo --hard ' test_expect_success \ 'Check the push after undo fails as well' \ ' - ! stg push bar + conflict stg push bar ' test_expect_success \ @@ -64,7 +64,7 @@ test_expect_success \ touch newfile && git add newfile && rm newfile && - stg push --undo + stg undo --hard ' test_done