[gvfs] tests: Update for udisks that uses logind
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] tests: Update for udisks that uses logind
- Date: Mon, 3 Nov 2014 07:27:09 +0000 (UTC)
commit 47c5aec9ba0a4519c4b69d9d19cc99d8f92b3576
Author: Martin Pitt <martin pitt ubuntu com>
Date: Tue Jun 3 15:58:00 2014 +0200
tests: Update for udisks that uses logind
When logind seat tracking is enabled, the test bed may not have a currently
active seat. Thus allow the filesystem-mount-other-seat action in the
Drive.cdrom test as well.
test/gvfs-test | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/test/gvfs-test b/test/gvfs-test
index 3f70023..ec74a33 100755
--- a/test/gvfs-test
+++ b/test/gvfs-test
@@ -1008,7 +1008,8 @@ class Drive(GvfsTestCase):
self.assertRegex(out, 'themed icons:.*media-optical')
# tell polkit to do allow removable (but not internal) storage
- self.start_polkit(['org.freedesktop.udisks2.filesystem-mount'])
+ self.start_polkit(['org.freedesktop.udisks2.filesystem-mount',
+ 'org.freedesktop.udisks2.filesystem-mount-other-seat'])
# now mounting should succeed
(out, err) = self.program_out_err(['gvfs-mount', '-d', '/dev/' + dev])
@@ -1027,7 +1028,8 @@ class Drive(GvfsTestCase):
self.load_image('bogus-cd.iso.bz2')
- self.start_polkit(['org.freedesktop.udisks2.filesystem-mount'])
+ self.start_polkit(['org.freedesktop.udisks2.filesystem-mount',
+ 'org.freedesktop.udisks2.filesystem-mount-other-seat'])
self.bogus_volume = None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]