chiark / gitweb /
[PATCH] add a block device with a ! in the name, and a test for this.
authorgreg@kroah.com <greg@kroah.com>
Thu, 12 Feb 2004 07:34:21 +0000 (23:34 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:32:26 +0000 (21:32 -0700)
test/sys/block/rd!c0d0/dev [new file with mode: 0644]
test/udev-test.pl

diff --git a/test/sys/block/rd!c0d0/dev b/test/sys/block/rd!c0d0/dev
new file mode 100644 (file)
index 0000000..fae0a50
--- /dev/null
@@ -0,0 +1 @@
+8:0
index 0700e53..1bce658 100644 (file)
@@ -328,6 +328,16 @@ 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
+       },
 );
 
 # set env