[librsvg: 6/7] rsvg-test.c: Override the environment's locale with LC_ALL
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 6/7] rsvg-test.c: Override the environment's locale with LC_ALL
- Date: Fri, 5 Oct 2018 16:09:30 +0000 (UTC)
commit ecf3a786896e50628528ce561ff9f73b3988b2e5
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Oct 4 19:59:19 2018 -0500
rsvg-test.c: Override the environment's locale with LC_ALL
We use a made-up set of language preferences for tests with the
systemLanguage attribute. Previously we were using the LANGUAGE
environment variable, which is a GNU extension.
Now we use LC_ALL, which is the "override everything" standard variable.
tests/rsvg-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/rsvg-test.c b/tests/rsvg-test.c
index 6b4bb736..d27de7b9 100644
--- a/tests/rsvg-test.c
+++ b/tests/rsvg-test.c
@@ -380,7 +380,7 @@ main (int argc, char **argv)
int result;
/* For systemLanguage attribute tests */
- g_setenv ("LANGUAGE", "de:en_US:en", TRUE);
+ g_setenv ("LC_ALL", "de:en_US:en", TRUE);
g_test_init (&argc, &argv, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]