summaryrefslogtreecommitdiff
path: root/test/udev-test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'test/udev-test.pl')
-rw-r--r--test/udev-test.pl10
1 files changed, 10 insertions, 0 deletions
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",