[glib/wip/gcleanup: 105/106] mimeapps: Don't make this test dependent on behavior of gvfs
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gcleanup: 105/106] mimeapps: Don't make this test dependent on behavior of gvfs
- Date: Mon, 11 Nov 2013 08:03:49 +0000 (UTC)
commit 9974e61ad8698a1e66a2d3f9575cd6091a525b86
Author: Stef Walter <stefw gnome org>
Date: Sun Nov 10 21:45:06 2013 +0100
mimeapps: Don't make this test dependent on behavior of gvfs
https://bugzilla.gnome.org/show_bug.cgi?id=711799
gio/tests/mimeapps.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/mimeapps.c b/gio/tests/mimeapps.c
index 35488e5..f993285 100644
--- a/gio/tests/mimeapps.c
+++ b/gio/tests/mimeapps.c
@@ -618,6 +618,9 @@ test_all (void)
int
main (int argc, char *argv[])
{
+ /* Predictable test by not loading random gio modules */
+ g_setenv ("GIO_MODULE_DIR", "/non-existant", TRUE);
+
g_test_init (&argc, &argv, NULL);
setup ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]