testsuite: Check correct handling of labels with funny characters
authorMartin Pitt <martin.pitt@ubuntu.com>
Sat, 6 Nov 2010 17:00:27 +0000 (13:00 -0400)
committerMartin 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

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 = 'rename' + type
+            l = 'ren"a\m\\"e' + type
             iface.FilesystemSetLabel(l)
             self.sync_workaround()
             i = self.get_info()