X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/blobdiff_plain/5b7169c024a96dd56e3e49e9ff5abf89f31593b2..b9d9ba14bf9fc47ab1ae9c41e6e37029b9f31002:/t/t1300-uncommit.sh diff --git a/t/t1300-uncommit.sh b/t/t1300-uncommit.sh index d86e579..0d952a7 100755 --- a/t/t1300-uncommit.sh +++ b/t/t1300-uncommit.sh @@ -78,4 +78,9 @@ test_expect_success \ stg commit --all ' +test_expect_failure 'Uncommit a commit with not precisely one parent' ' + stg uncommit -n 5 ; [ $? = 2 ] && + [ "$(echo $(stg series))" = "" ] +' + test_done