diff options
-rw-r--r-- | test/sys/block/rd!c0d0/dev | 1 | ||||
-rw-r--r-- | test/udev-test.pl | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/test/sys/block/rd!c0d0/dev b/test/sys/block/rd!c0d0/dev new file mode 100644 index 0000000000..fae0a50572 --- /dev/null +++ b/test/sys/block/rd!c0d0/dev @@ -0,0 +1 @@ +8:0 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 |