summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-09-29 09:04:11 -0400
committerDan Winship <danw@gnome.org>2013-09-29 09:04:11 -0400
commita5d3351caf88824db7de968f312565851d47840a (patch)
tree235ad77b25b66dac36a7294e25be41289ae7df07
parent3a308914423d4aa16e5546c1484c983c69fd2780 (diff)
downloadlibsoup-a5d3351caf88824db7de968f312565851d47840a.tar.gz
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.
-rw-r--r--tests/test-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-utils.c b/tests/test-utils.c
index 248f2fe8..0b739393 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++)