diff options
author | Ondrej Holy <oholy@redhat.com> | 2016-06-07 13:12:36 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2016-06-07 13:12:36 +0200 |
commit | 2be06cd34bb660fa7f05bc27bc728e9ddce46c7d (patch) | |
tree | 6ba3d94098fd09c592f6e674dbc912372978e1e7 /test | |
parent | 7f093223b626489b41a76f396a2f9eafc5ddbb43 (diff) | |
download | gvfs-2be06cd34bb660fa7f05bc27bc728e9ddce46c7d.tar.gz |
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
Diffstat (limited to 'test')
-rwxr-xr-x | test/gvfs-test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/gvfs-test b/test/gvfs-test index d180d9ab..662a9dcb 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') |