summaryrefslogtreecommitdiff
path: root/test/udev-test.pl
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-06-04 22:01:53 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:47 -0700
commit0f36e68e8a28e02981b90a3a4712f198b58746ba (patch)
tree15617e3e18c486e9d25cfaaa534403f6f4da4e5b /test/udev-test.pl
parent84df02dd63bf53acb5a61e9db1da067760b927e9 (diff)
[PATCH] add test for ! in partition name
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",