Add missing setlocale calls to helper binaries
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 20 Mar 2013 18:37:54 +0000 (18:37 +0000)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Wed, 20 Mar 2013 23:26:29 +0000 (16:26 -0700)
tests/eds/helper-create-many-contacts.vala
tests/eds/helper-delete-contacts.vala
tests/eds/helper-prepare-aggregator.vala

index d02439c..281275d 100644 (file)
@@ -130,6 +130,8 @@ public class Main
 
   public static int main (string[] args)
     {
+      Intl.setlocale (LocaleCategory.ALL, "");
+
       if (Environment.get_variable ("FOLKS_TESTS_SANDBOXED_DBUS") != "eds")
         error ("e-d-s helpers must be run in a private D-Bus session with " +
             "e-d-s services");
index 560f93b..13f8d2f 100644 (file)
@@ -54,6 +54,8 @@ public class Main
 
   public static int main (string[] args)
     {
+      Intl.setlocale (LocaleCategory.ALL, "");
+
       if (Environment.get_variable ("FOLKS_TESTS_SANDBOXED_DBUS") != "eds")
         error ("e-d-s helpers must be run in a private D-Bus session with " +
             "e-d-s services");
index af639dd..a7b674e 100644 (file)
@@ -60,6 +60,8 @@ public class Main
 
   public static int main (string[] args)
     {
+      Intl.setlocale (LocaleCategory.ALL, "");
+
       if (Environment.get_variable ("FOLKS_TESTS_SANDBOXED_DBUS") != "eds" ||
           Environment.get_variable ("FOLKS_BACKENDS_ALLOWED") != "eds" ||
           Environment.get_variable ("FOLKS_PRIMARY_STORE") == null)