[glib-networking] tls: set GSETTINGS_BACKEND to "memory" in tests



commit 814d004e13332fc3ddbf994a18e2269aa2fa61c5
Author: Dan Winship <danw gnome org>
Date:   Thu Nov 17 18:57:44 2011 -0500

    tls: set GSETTINGS_BACKEND to "memory" in tests
    
    To avoid warning messages when testing against a minimal
    alternate-prefix install.

 tls/tests/certificate.c |    1 +
 tls/tests/connection.c  |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tls/tests/certificate.c b/tls/tests/certificate.c
index 79e65e9..623ec30 100644
--- a/tls/tests/certificate.c
+++ b/tls/tests/certificate.c
@@ -566,6 +566,7 @@ main (int   argc,
   g_type_init ();
   g_test_init (&argc, &argv, NULL);
 
+  g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
   g_setenv ("GIO_EXTRA_MODULES", TOP_BUILDDIR "/tls/gnutls/.libs", TRUE);
   g_setenv ("GIO_USE_TLS", "gnutls", TRUE);
 
diff --git a/tls/tests/connection.c b/tls/tests/connection.c
index 1edc7ad..7ad66ad 100644
--- a/tls/tests/connection.c
+++ b/tls/tests/connection.c
@@ -492,6 +492,7 @@ main (int   argc,
   g_type_init ();
   g_test_init (&argc, &argv, NULL);
 
+  g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
   g_setenv ("GIO_EXTRA_MODULES", TOP_BUILDDIR "/tls/gnutls/.libs", TRUE);
   g_setenv ("GIO_USE_TLS", "gnutls", TRUE);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]