[gvfs] test: Be sure that gvfs is used by gio
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] test: Be sure that gvfs is used by gio
- Date: Tue, 7 Jun 2016 12:08:02 +0000 (UTC)
commit 2be06cd34bb660fa7f05bc27bc728e9ddce46c7d
Author: Ondrej Holy <oholy redhat com>
Date: Tue Jun 7 13:12:36 2016 +0200
test: Be sure that gvfs is used by gio
Currently the tests may fail with:
Error mounting location: volume doesn't implement mount
This may happen if GIO_USE_VFS=local, which is currently set by
gnome-desktop-testing as defaults.
Set GIO_USE_VFS=gvfs for our process to fix it.
https://bugzilla.gnome.org/show_bug.cgi?id=734370
test/gvfs-test | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/test/gvfs-test b/test/gvfs-test
index d180d9a..662a9dc 100755
--- a/test/gvfs-test
+++ b/test/gvfs-test
@@ -37,6 +37,8 @@ from glob import glob
from gi.repository import GLib, Gio
+os.environ['GIO_USE_VFS'] = 'gvfs'
+
try:
import gi
gi.require_version('UMockdev', '1.0')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]