summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/sys/block/cciss!c0d0/cciss!c0d0p1/dev1
-rw-r--r--test/sys/block/cciss!c0d0/cciss!c0d0p2/dev1
-rw-r--r--test/sys/block/cciss!c0d0/cciss!c0d0p5/dev1
-rw-r--r--test/sys/block/cciss!c0d0/dev1
-rw-r--r--test/udev-test.pl10
5 files changed, 14 insertions, 0 deletions
diff --git a/test/sys/block/cciss!c0d0/cciss!c0d0p1/dev b/test/sys/block/cciss!c0d0/cciss!c0d0p1/dev
new file mode 100644
index 0000000000..92c4b9b088
--- /dev/null
+++ b/test/sys/block/cciss!c0d0/cciss!c0d0p1/dev
@@ -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
index 0000000000..9799a2674a
--- /dev/null
+++ b/test/sys/block/cciss!c0d0/cciss!c0d0p2/dev
@@ -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
index 0000000000..b3d5042192
--- /dev/null
+++ b/test/sys/block/cciss!c0d0/cciss!c0d0p5/dev
@@ -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
index 0000000000..fae0a50572
--- /dev/null
+++ b/test/sys/block/cciss!c0d0/dev
@@ -0,0 +1 @@
+8:0
diff --git a/test/udev-test.pl b/test/udev-test.pl
index ebd3c6a8a0..1e7c51e556 100644
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -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",