diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2014-06-03 15:58:00 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2014-11-03 08:25:23 +0100 |
commit | 47c5aec9ba0a4519c4b69d9d19cc99d8f92b3576 (patch) | |
tree | 07f5e005ee707ea8b6c341491663347f72921572 | |
parent | 2a0dc68c7eeb9a945860b68a295d5c1d9101bd0f (diff) | |
download | gvfs-47c5aec9ba0a4519c4b69d9d19cc99d8f92b3576.tar.gz |
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.
-rwxr-xr-x | test/gvfs-test | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/gvfs-test b/test/gvfs-test index 3f700238..ec74a335 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 |