summaryrefslogtreecommitdiff
path: root/test/udev-test.pl
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-02-11 23:34:21 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:32:26 -0700
commitf0142622b8b68d58694d0c97396bb24d0830c5df (patch)
treee1904f737ef70b1dee3bb0648e9a83774461373c /test/udev-test.pl
parente9b2679f420b77f1ea49fc3cd8a746072fe66854 (diff)
[PATCH] add a block device with a ! in the name, and a test for this.
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 0700e53576..1bce65885e 100644
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -328,6 +328,16 @@ 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
+ },
);
# set env