X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/980bde6a6c5b9a4a5cae0d8f7b863e477737a8f3..4675b4bb7d2390a00da42cb2ddcc23c73d452756:/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