]> err.no Git - systemd/commitdiff
[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 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
        },
 );