[tracker] unit tests, tracker-sparql: Assume en_US.utf8 locale for a proper collation
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] unit tests, tracker-sparql: Assume en_US.utf8 locale for a proper collation
- Date: Wed, 6 Oct 2010 17:05:46 +0000 (UTC)
commit 8381dc8093b8b40e0c8a88f5b26c84159027ff90
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]