t1430: test the output and error of some commands more carefully
[gitweb.git] / t / t9115-git-svn-dcommit-funky-renames.sh
index a3927c46ba5a3163f0dc10f911581a5bef4a12e6..0990f8d23571878fccb6e3607caa938590e3f683 100755 (executable)
@@ -104,6 +104,21 @@ test_expect_success UTF8 'svn.pathnameencoding=cp932 new file on dcommit' '
        git svn dcommit
 '
 
+# See the comment on the above test for setting of LC_ALL.
+test_expect_success 'svn.pathnameencoding=cp932 rename on dcommit' '
+       LC_ALL=$a_utf8_locale &&
+       export LC_ALL &&
+       inf=$(printf "\201\207") &&
+       git config svn.pathnameencoding cp932 &&
+       echo inf >"$inf" &&
+       git add "$inf" &&
+       git commit -m "inf" &&
+       git svn dcommit &&
+       git mv "$inf" inf &&
+       git commit -m "inf rename" &&
+       git svn dcommit
+'
+
 stop_httpd
 
 test_done