projects
/
platform
/
upstream
/
udisks2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
301bba8
)
integration-test: Consistent mount path validation
author
Martin Pitt
<martinpitt@gnome.org>
Wed, 22 Aug 2012 10:28:56 +0000
(12:28 +0200)
committer
Martin Pitt
<martinpitt@gnome.org>
Wed, 22 Aug 2012 10:28:56 +0000
(12:28 +0200)
Do not require mount paths to be in /run/media/, leave that as an
implementation detail (the code supports both cases). The other mount point
tests already do this.
src/tests/integration-test
patch
|
blob
|
history
diff --git
a/src/tests/integration-test
b/src/tests/integration-test
index
cd3eee3
..
22bee38
100755
(executable)
--- a/
src/tests/integration-test
+++ b/
src/tests/integration-test
@@
-806,7
+806,7
@@
class FS(UDisksTestCase):
# mount
mount_path = fs.call_mount_sync(no_options, None)
- self.assertTrue(
mount_path.startswith('/run/media/'),
mount_path)
+ self.assertTrue(
'/media/' in
mount_path)
if label:
self.assertTrue(mount_path.endswith(label))