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:
1f97cf9
)
testsuite: Check correct handling of labels with funny characters
author
Martin Pitt
<martin.pitt@ubuntu.com>
Sat, 6 Nov 2010 17:00:27 +0000
(13:00 -0400)
committer
Martin Pitt
<martin.pitt@ubuntu.com>
Sat, 6 Nov 2010 17:00:27 +0000
(13:00 -0400)
Try to change to a label containing backslashes and quotes. This will make
things fall over quite badly in a lot of cases right now.
tests/run
patch
|
blob
|
history
diff --git
a/tests/run
b/tests/run
index
725d254
..
c2a7bcc
100755
(executable)
--- a/
tests/run
+++ b/
tests/run
@@
-735,7
+735,7
@@
class FS(UDisksTestCase):
# change label
if supports_label_rename:
- l = 'ren
am
e' + type
+ l = 'ren
"a\m\\"
e' + type
iface.FilesystemSetLabel(l)
self.sync_workaround()
i = self.get_info()