tests: set LC_ALL to C instead of en_US.Utf-8
authorDaiki Ueno <ueno@unixuser.org>
Fri, 5 Oct 2012 00:50:38 +0000 (09:50 +0900)
committerDaiki Ueno <ueno@unixuser.org>
Fri, 5 Oct 2012 00:50:38 +0000 (09:50 +0900)
If LC_* is not "C" and there is no translation found in the current locale, gettext honors the LANGUAGE envvar.

BUG=Issue#1515

Review URL: https://codereview.appspot.com/6592074

src/tests/ibus-util.c

index 7a6dd40..5db7ad2 100644 (file)
@@ -10,7 +10,7 @@
 
 int main (int argc, char **argv)
 {
-    setlocale(LC_ALL, "en_US.Utf-8");
+    setlocale(LC_ALL, "C");
 
     g_assert_cmpstr (ibus_get_language_name ("eng"), ==, "English");