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

This commit is contained in:
greg@kroah.com 2004-02-11 23:34:21 -08:00 committed by Greg KH
parent e9b2679f42
commit f0142622b8
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1 @@
8:0

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
},
);