X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/d851da81409f07105c55d5088157e276cbc4fe13..a2f4fe7de51cb580ca587d155f01ad569edd36ae:/t/t1205-push-subdir.sh diff --git a/t/t1205-push-subdir.sh b/t/t1205-push-subdir.sh index 175d36d..945eb74 100755 --- a/t/t1205-push-subdir.sh +++ b/t/t1205-push-subdir.sh @@ -47,7 +47,7 @@ test_expect_success 'Conflicting push from subdir' ' [ "$(echo $(cat x.txt))" = "x0" ] && [ "$(echo $(cat foo/y.txt))" = "y0" ] && cd foo && - ! stg push p2 && + conflict_old stg push p2 && cd .. && [ "$(echo $(stg status --conflict))" = "foo/y.txt x.txt" ] ' @@ -62,7 +62,7 @@ test_expect_success 'Conflicting add/unknown file in subdir' ' stg pop && mkdir -p d && echo bar > d/test && - ! stg push foo && + command_error stg push foo && [ $(stg top) != "foo" ] '