diff options
author | greg@kroah.com <greg@kroah.com> | 2004-02-11 23:34:21 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:32:26 -0700 |
commit | f0142622b8b68d58694d0c97396bb24d0830c5df (patch) | |
tree | e1904f737ef70b1dee3bb0648e9a83774461373c /test | |
parent | e9b2679f420b77f1ea49fc3cd8a746072fe66854 (diff) |
[PATCH] add a block device with a ! in the name, and a test for this.
Diffstat (limited to 'test')
-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 |