[PATCH] add a block device with a ! in the name, and a test for this.

This commit is contained in:
greg@kroah.com
2005-04-26 21:32:26 -07:00
committed by Greg KH
parent e9b2679f42
commit f0142622b8
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
8:0
+10
View 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
},
);