tests: Fix tests that fail with non-English locales

Some tests check whether the translated messages are expected, so we have to
force the use of English locales for them.

https://bugzilla.gnome.org/show_bug.cgi?id=748610
This commit is contained in:
Ting-Wei Lan
2015-04-29 14:51:14 +08:00
parent f9af40a133
commit 5574315b52
4 changed files with 4 additions and 3 deletions

View File

@@ -905,6 +905,7 @@ int
main (int argc,
char *argv[])
{
g_setenv ("LC_ALL", "C", TRUE);
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/fileutils/build-path", test_build_path);