From: Simon McVittie Date: Thu, 4 Apr 2013 14:39:42 +0000 (+0100) Subject: all tests: disable non-local GIO VFS backends, such as gvfs X-Git-Tag: FOLKS_0_9_2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bfab3ee28c15a4e3ed6d7a87a113b472afebd495;p=platform%2Fupstream%2Ffolks.git all tests: disable non-local GIO VFS backends, such as gvfs Bug: https://bugzilla.gnome.org/show_bug.cgi?id=697261 Signed-off-by: Simon McVittie Reviewed-by: Philip Withnall --- diff --git a/tests/lib/test-case.vala b/tests/lib/test-case.vala index 4c31851..a772eac 100644 --- a/tests/lib/test-case.vala +++ b/tests/lib/test-case.vala @@ -41,6 +41,10 @@ public abstract class Folks.TestCase : Object { Intl.setlocale (LocaleCategory.ALL, ""); + /* Turn off use of gvfs. If using GTestDBus it's unavailable, + * and if not it's pointless: all we need is the local filesystem. */ + Environment.set_variable ("GIO_USE_VFS", "local", true); + LogAdaptor.set_up (); this._suite = new GLib.TestSuite (name);