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 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