tests: Use de_DE.UTF-8 instead of de_DE
authorTing-Wei Lan <lantw@src.gnome.org>
Wed, 29 Apr 2015 06:55:00 +0000 (14:55 +0800)
committerTing-Wei Lan <lantw@src.gnome.org>
Fri, 1 May 2015 15:07:45 +0000 (23:07 +0800)
de_DE.UTF-8 is supported by more operating systems, including FreeBSD,
NetBSD and OpenBSD.

https://bugzilla.gnome.org/show_bug.cgi?id=748612

glib/tests/option-context.c

index 0ca29ca..cad40a0 100644 (file)
@@ -624,7 +624,7 @@ arg_test5 (void)
   gchar **argv_copy;
   int argc;
   char *old_locale, *current_locale;
-  const char *locale = "de_DE";
+  const char *locale = "de_DE.UTF-8";
   GOptionEntry entries [] =
     { { "test", 0, 0, G_OPTION_ARG_DOUBLE, &arg_test5_double, NULL, NULL },
       { NULL } };