chiark / gitweb /
[PATCH] add test for ! in partition name
authorgreg@kroah.com <greg@kroah.com>
Sat, 5 Jun 2004 05:01:53 +0000 (22:01 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:35:47 +0000 (21:35 -0700)
test/sys/block/cciss!c0d0/cciss!c0d0p1/dev [new file with mode: 0644]
test/sys/block/cciss!c0d0/cciss!c0d0p2/dev [new file with mode: 0644]
test/sys/block/cciss!c0d0/cciss!c0d0p5/dev [new file with mode: 0644]
test/sys/block/cciss!c0d0/dev [new file with mode: 0644]
test/udev-test.pl

diff --git a/test/sys/block/cciss!c0d0/cciss!c0d0p1/dev b/test/sys/block/cciss!c0d0/cciss!c0d0p1/dev
new file mode 100644 (file)
index 0000000..92c4b9b
--- /dev/null
@@ -0,0 +1 @@
+8:1
diff --git a/test/sys/block/cciss!c0d0/cciss!c0d0p2/dev b/test/sys/block/cciss!c0d0/cciss!c0d0p2/dev
new file mode 100644 (file)
index 0000000..9799a26
--- /dev/null
@@ -0,0 +1 @@
+8:2
diff --git a/test/sys/block/cciss!c0d0/cciss!c0d0p5/dev b/test/sys/block/cciss!c0d0/cciss!c0d0p5/dev
new file mode 100644 (file)
index 0000000..b3d5042
--- /dev/null
@@ -0,0 +1 @@
+8:5
diff --git a/test/sys/block/cciss!c0d0/dev b/test/sys/block/cciss!c0d0/dev
new file mode 100644 (file)
index 0000000..fae0a50
--- /dev/null
@@ -0,0 +1 @@
+8:0
index ebd3c6a..1e7c51e 100644 (file)
@@ -400,6 +400,16 @@ KERNEL="ttyUSB0", NAME="visor"
 EOF
        },
        {
+               desc            => "name test with ! in the name for a partition",
+               subsys          => "block",
+               devpath         => "/block/cciss!c0d0/cciss!c0d0p1",
+               exp_name        => "cciss/c0d0p1" ,
+               conf            => <<EOF
+BUS="scsi", NAME="%k"
+KERNEL="ttyUSB0", NAME="visor"
+EOF
+       },
+       {
                desc            => "ID rule",
                subsys          => "block",
                devpath         => "/block/sda",