summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9d55b41)
raw | patch | inline | side by side (parent: 9d55b41)
author | Eric Wong <normalperson@yhbt.net> | |
Mon, 12 Jun 2006 12:57:02 +0000 (05:57 -0700) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Fri, 16 Jun 2006 10:04:20 +0000 (03:04 -0700) |
Signed-off-by: Eric Wong <normalperson@yhbt.net>
contrib/git-svn/t/t0000-contrib-git-svn.sh | patch | blob | history |
diff --git a/contrib/git-svn/t/t0000-contrib-git-svn.sh b/contrib/git-svn/t/t0000-contrib-git-svn.sh
index a07fbad68bd987675131a441e5d8e797b3d9c8d2..0c6ff2066b7faa098ecc23a415a95870199a0641 100644 (file)
#
test_description='git-svn tests'
+GIT_SVN_LC_ALL=$LC_ALL
. ./lib-git-svn.sh
mkdir import
diff -u help $SVN_TREE/exec-2.sh"
+if test -n "$GIT_SVN_LC_ALL" && echo $GIT_SVN_LC_ALL | grep -q '\.UTF-8$'
+then
+ name="commit with UTF-8 message: locale: $GIT_SVN_LC_ALL"
+ echo '# hello' >> exec-2.sh
+ git update-index exec-2.sh
+ git commit -m 'éï∏'
+ export LC_ALL="$GIT_SVN_LC_ALL"
+ test_expect_success "$name" "git-svn commit HEAD"
+ unset LC_ALL
+else
+ echo "UTF-8 locale not set, test skipped ($GIT_SVN_LC_ALL)"
+fi
name='test fetch functionality (svn => git) with alternate GIT_SVN_ID'
GIT_SVN_ID=alt