[tracker/rss-enclosures] unit tests, tracker-sparql: Assume en_US.utf8 locale for a proper collation
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] unit tests, tracker-sparql: Assume en_US.utf8 locale for a proper collation
- Date: Wed, 24 Nov 2010 01:57:38 +0000 (UTC)
commit 1f1ba219a81376b3939f5d1cf0eaa37baf101f7e
Author: Aleksander Morgado <aleksander lanedo com>
Date: Wed Oct 6 19:04:02 2010 +0200
unit tests, tracker-sparql: Assume en_US.utf8 locale for a proper collation
tests/libtracker-data/tracker-sparql-test.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/libtracker-data/tracker-sparql-test.c b/tests/libtracker-data/tracker-sparql-test.c
index 0a7af1e..ee06007 100644
--- a/tests/libtracker-data/tracker-sparql-test.c
+++ b/tests/libtracker-data/tracker-sparql-test.c
@@ -338,6 +338,8 @@ main (int argc, char **argv)
g_test_init (&argc, &argv, NULL);
+ setlocale (LC_COLLATE, "en_US.utf8");
+
current_dir = g_get_current_dir ();
g_setenv ("XDG_DATA_HOME", current_dir, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]