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 | |
parent | [PATCH] fix up 'make release' to use bk to build the export tree. (diff) | |
download | systemd-f0142622b8b68d58694d0c97396bb24d0830c5df.tar.gz systemd-f0142622b8b68d58694d0c97396bb24d0830c5df.tar.bz2 systemd-f0142622b8b68d58694d0c97396bb24d0830c5df.zip |
[PATCH] add a block device with a ! in the name, and a test for this.
-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 000000000..fae0a5057 --- /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 0700e5357..1bce65885 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 |