mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
[PATCH] add a block device with a ! in the name, and a test for this.
This commit is contained in:
parent
e9b2679f42
commit
f0142622b8
1
test/sys/block/rd!c0d0/dev
Normal file
1
test/sys/block/rd!c0d0/dev
Normal file
@ -0,0 +1 @@
|
||||
8:0
|
@ -326,6 +326,16 @@ EOF
|
||||
expected => "visor" ,
|
||||
conf => <<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
|
||||
},
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user