summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2014-06-03 14:24:00 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2014-06-03 14:24:00 +0200
commitf9c060bddd108e1f0612174504729e5c1bc9ce82 (patch)
tree66ce3640476f6e3f408aaea86cba4136fa5c15a2
parentfe0498a82b928267eb1cc623703890950ac51f0b (diff)
integration-test: Update for 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 Polkit.test_removable_fs() test as well.
-rwxr-xr-xsrc/tests/integration-test3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/integration-test b/src/tests/integration-test
index 7596258..215e20f 100755
--- a/src/tests/integration-test
+++ b/src/tests/integration-test
@@ -1326,7 +1326,8 @@ class Polkit(UDisksTestCase, test_polkitd.PolkitTestCase):
def test_removable_fs(self):
'''Create FS on removable drive (allowed)'''
- self.start_polkitd(['org.freedesktop.udisks2.filesystem-mount'])
+ self.start_polkitd(['org.freedesktop.udisks2.filesystem-mount',
+ 'org.freedesktop.udisks2.filesystem-mount-other-seat'])
# the scsi_debug CD drive content is the same as for the HD drive, but
# udev does not know about this; so give it a nudge to re-probe