summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Pitt <martinpitt@gnome.org>2013-05-29 15:50:49 +0200
committerMartin Pitt <martinpitt@gnome.org>2013-05-29 15:50:49 +0200
commit54f23f2d89a4b066f19f5e56108fc0464df25585 (patch)
tree17ccbee663789695ebf256ffae029fb01e30c3d2 /test
parent1f6ad356dcc73acf7d5c75a75e5f829809ee96af (diff)
downloadgvfs-54f23f2d89a4b066f19f5e56108fc0464df25585.tar.gz
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.
Diffstat (limited to 'test')
-rwxr-xr-xtest/gvfs-test6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/gvfs-test b/test/gvfs-test
index e97c4b8e..1da2a8fa 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'])