mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-27 13:57:26 +03:00
[PATCH] add test for format chars in multiple symlinks to replace
This commit is contained in:
parent
6628a2ea38
commit
2b0f835ccc
@ -777,6 +777,16 @@ EOF
|
||||
exp_majorminor => "4094:89999",
|
||||
conf => <<EOF
|
||||
KERNEL="i2c-fake2", NAME="node"
|
||||
EOF
|
||||
},
|
||||
{
|
||||
desc => "multiple symlinks with format char",
|
||||
subsys => "tty",
|
||||
devpath => "/class/tty/ttyUSB0",
|
||||
exp_name => "symlink2-ttyUSB0",
|
||||
exp_target => "ttyUSB0",
|
||||
conf => <<EOF
|
||||
KERNEL="ttyUSB[0-9]*", NAME="ttyUSB%n", SYMLINK="symlink1-%n symlink2-%k symlink3-%b"
|
||||
EOF
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user