chiark / gitweb /
[PATCH] add a block device with a ! in the name, and a test for this.
[elogind.git] / test / udev-test.pl
index 0700e535767ef79d9115bede4e9d0a9405b8d1c5..1bce65885eac9709113bb7f0807be090fa33ab86 100644 (file)
@@ -326,6 +326,16 @@ EOF
                expected => "visor" ,
                conf     => <<EOF
 SYSFS_idProduct="2008", NAME="visor"
+EOF
+       },
+       {
+               desc     => "name test with ! in the name",
+               subsys   => "block",
+               devpath  => "block/rd!c0d0",
+               expected => "rd/c0d0" ,
+               conf     => <<EOF
+BUS="scsi", NAME="%k"
+KERNEL="ttyUSB0", NAME="visor"
 EOF
        },
 );