X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/980bde6a6c5b9a4a5cae0d8f7b863e477737a8f3..7a6a45b5f1379466bd23b33a7feed47d0b8331b7:/t/t1300-uncommit.sh diff --git a/t/t1300-uncommit.sh b/t/t1300-uncommit.sh index d86e579..a906d13 100755 --- a/t/t1300-uncommit.sh +++ b/t/t1300-uncommit.sh @@ -78,4 +78,9 @@ test_expect_success \ stg commit --all ' +test_expect_success 'Uncommit a commit with not precisely one parent' ' + stg uncommit -n 5 ; [ $? = 2 ] && + [ "$(echo $(stg series))" = "" ] +' + test_done