X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/7a6a45b5f1379466bd23b33a7feed47d0b8331b7..1056440bd7cede989a1dd414845b035995ef7a68:/t/t0002-status.sh?ds=sidebyside diff --git a/t/t0002-status.sh b/t/t0002-status.sh index 5e1e8ca..d95a83b 100755 --- a/t/t0002-status.sh +++ b/t/t0002-status.sh @@ -107,14 +107,11 @@ test_expect_success 'Make a conflicting patch' ' ' cat > expected.txt < output.txt && test_cmp expected.txt output.txt ' @@ -186,4 +183,10 @@ test_expect_success 'Status after renaming a file' ' 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