X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/d9b2f20a72706d6b4f553a8a8e25bd67f87ed616..83327d53158a41c82511de8c37386c6f389e2295:/t/t0002-status.sh diff --git a/t/t0002-status.sh b/t/t0002-status.sh index 4364709..ac92aa8 100755 --- a/t/t0002-status.sh +++ b/t/t0002-status.sh @@ -114,7 +114,7 @@ A fie C foo/bar EOF test_expect_success 'Status after conflicting push' ' - ! stg push && + conflict_old stg push && stg status > output.txt && test_cmp expected.txt output.txt ' @@ -175,4 +175,21 @@ test_expect_success 'Status of disappeared newborn' ' test_cmp expected.txt output.txt ' +cat > expected.txt < output.txt && + test_cmp expected.txt output.txt +' + +test_expect_success 'Status after renaming a file (with rename detection)' ' + git config stgit.diff-opts -M && + stg status > output.txt && + test_cmp expected.txt output.txt +' + test_done