stg commit --all
'
-test_expect_failure 'Uncommit a commit with not precisely one parent' '
- stg uncommit -n 5 ; [ $? = 2 ] &&
+test_expect_success 'Uncommit a commit with not precisely one parent' '
+ command_error stg uncommit -n 5 &&
[ "$(echo $(stg series))" = "" ]
'