Merge branch 'pb/t7502-drop-dup' into maint
[gitweb.git] / t / t9129-git-svn-i18n-commitencoding.sh
index 39b6bcb398fff970184e242bdd51500b84f7d382..8dbd6476fa181dc7a2b3f0b6a9dfff57155c9eea 100755 (executable)
@@ -14,17 +14,7 @@ compare_git_head_with () {
        test_cmp current "$1"
 }
 
-a_utf8_locale=$(locale -a | sed -n '/\.[uU][tT][fF]-*8$/{
-       p
-       q
-}')
-
-if test -n "$a_utf8_locale"
-then
-       test_set_prereq UTF8
-else
-       say "# UTF-8 locale not available, some tests are skipped"
-fi
+prepare_a_utf8_locale
 
 compare_svn_head_with () {
        # extract just the log message and strip out committer info.