[gvfs] gvfs-test: Drop assumption about local consoles
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] gvfs-test: Drop assumption about local consoles
- Date: Wed, 29 May 2013 13:52:15 +0000 (UTC)
commit 54f23f2d89a4b066f19f5e56108fc0464df25585
Author: Martin Pitt <martinpitt gnome org>
Date: Wed May 29 15:50:49 2013 +0200
gvfs-test: Drop assumption about local consoles
Drop the check that mounting a CD fails without the fake polkit. This worked in
ConsoleKit times, but not with logind any more.
test/gvfs-test | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/test/gvfs-test b/test/gvfs-test
index e97c4b8..1da2a8f 100755
--- a/test/gvfs-test
+++ b/test/gvfs-test
@@ -978,12 +978,6 @@ class Drive(GvfsTestCase):
self.assertRegex(out, 'should_automount=1')
self.assertRegex(out, 'themed icons:.*media-optical')
- # user is not on any local session in the sandbox, so mounting ought to
- # fail
- (code, out, err) = self.program_code_out_err(['gvfs-mount', '-d', '/dev/' + dev])
- self.assertNotEqual(code, 0)
- self.assertRegex(err, 'Not authorized')
-
# tell polkit to do allow removable (but not internal) storage
self.start_polkit(['org.freedesktop.udisks2.filesystem-mount'])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]