summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDan Cîrnaț <dan@alt.md>2021-04-05 10:52:46 +0200
committerDan Cîrnaț <dan@alt.md>2021-04-05 19:11:26 +0200
commit0c573644bc3ac18afe448318869efadbe5ebf7a5 (patch)
tree6cc758d9625cfc582d6cb52f3d42eaf71ac3eb5b /tests
parent4ea56a97a510cf2c587229231211552daa84d1fc (diff)
downloadgnome-desktop-0c573644bc3ac18afe448318869efadbe5ebf7a5.tar.gz
*.utf8 are not valid locale names on NetBSD
http://cvsweb.netbsd.org/bsdweb.cgi/src/share/locale/messages/?only_with_tag=MAIN
Diffstat (limited to 'tests')
-rw-r--r--tests/wall-clock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/wall-clock.c b/tests/wall-clock.c
index 0e8c49c9..a980c951 100644
--- a/tests/wall-clock.c
+++ b/tests/wall-clock.c
@@ -57,7 +57,7 @@ test_utf8_character (const char *utf8_char,
g_object_unref (clock);
/* In a UTF8 locale, we want ratio characters and no colons. */
- setlocale (LC_ALL, "en_US.utf8");
+ setlocale (LC_ALL, "en_US.UTF-8");
clock = gnome_wall_clock_new ();
str = gnome_wall_clock_string_for_datetime (clock,
datetime,
@@ -69,7 +69,7 @@ test_utf8_character (const char *utf8_char,
/* ... and same thing with an RTL locale: should be formatted with
* ratio characters */
- setlocale (LC_ALL, "he_IL.utf8");
+ setlocale (LC_ALL, "he_IL.UTF-8");
clock = gnome_wall_clock_new ();
str = gnome_wall_clock_string_for_datetime (clock,
datetime,
@@ -106,7 +106,7 @@ test_clock_format_setting (void)
const char *str;
save_locale = setlocale (LC_ALL, NULL);
- setlocale (LC_ALL, "en_US.utf8");
+ setlocale (LC_ALL, "en_US.UTF-8");
settings = g_settings_new ("org.gnome.desktop.interface");