[libsoup] test-utils: set GSETTINGS_BACKEND=memory



commit a5d3351caf88824db7de968f312565851d47840a
Author: Dan Winship <danw gnome org>
Date:   Sun Sep 29 09:04:11 2013 -0400

    test-utils: set GSETTINGS_BACKEND=memory
    
    To ensure we don't get unwanted proxy settings, and so we don't get
    warnings if the memory backend is the only one available.

 tests/test-utils.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-utils.c b/tests/test-utils.c
index 248f2fe..0b73939 100644
--- a/tests/test-utils.c
+++ b/tests/test-utils.c
@@ -82,6 +82,7 @@ test_init (int argc, char **argv, GOptionEntry *entries)
        GTlsBackend *tls_backend;
 
        setlocale (LC_ALL, "");
+       g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
 
        name = strrchr (argv[0], '/');
        if (!name++)


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