mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
test/udev-test.pl: fix wrong test descriptions
udev hasn't supported renaming device nodes for some time.
This commit is contained in:
parent
e62acc3159
commit
46bc71b2b7
|
@ -212,7 +212,7 @@ KERNEL=="ttyACM[0-9]*", SYMLINK+="modem/%n"
|
|||
EOF
|
||||
},
|
||||
{
|
||||
desc => "replace kernel name",
|
||||
desc => "don't replace kernel name",
|
||||
devices => [
|
||||
{
|
||||
devpath => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0",
|
||||
|
@ -223,7 +223,7 @@ KERNEL=="ttyACM0", SYMLINK+="modem"
|
|||
EOF
|
||||
},
|
||||
{
|
||||
desc => "Handle comment lines in config file (and replace kernel name)",
|
||||
desc => "Handle comment lines in config file (and don't replace kernel name)",
|
||||
devices => [
|
||||
{
|
||||
devpath => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0",
|
||||
|
@ -236,7 +236,7 @@ KERNEL=="ttyACM0", SYMLINK+="modem"
|
|||
EOF
|
||||
},
|
||||
{
|
||||
desc => "Handle comment lines in config file with whitespace (and replace kernel name)",
|
||||
desc => "Handle comment lines in config file with whitespace (and don't replace kernel name)",
|
||||
devices => [
|
||||
{
|
||||
devpath => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0",
|
||||
|
@ -249,7 +249,7 @@ KERNEL=="ttyACM0", SYMLINK+="modem"
|
|||
EOF
|
||||
},
|
||||
{
|
||||
desc => "Handle whitespace only lines (and replace kernel name)",
|
||||
desc => "Handle whitespace only lines (and don't replace kernel name)",
|
||||
devices => [
|
||||
{
|
||||
devpath => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0",
|
||||
|
@ -267,7 +267,7 @@ KERNEL=="ttyACM0", SYMLINK+="whitespace"
|
|||
EOF
|
||||
},
|
||||
{
|
||||
desc => "Handle empty lines in config file (and replace kernel name)",
|
||||
desc => "Handle empty lines in config file (and don't replace kernel name)",
|
||||
devices => [
|
||||
{
|
||||
devpath => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0",
|
||||
|
@ -280,7 +280,7 @@ KERNEL=="ttyACM0", SYMLINK+="modem"
|
|||
EOF
|
||||
},
|
||||
{
|
||||
desc => "Handle backslashed multi lines in config file (and replace kernel name)",
|
||||
desc => "Handle backslashed multi lines in config file (and don't replace kernel name)",
|
||||
devices => [
|
||||
{
|
||||
devpath => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0",
|
||||
|
@ -303,8 +303,9 @@ EOF
|
|||
KERNEL=="ttyACM0", PROGRAM=="/bin/echo -e \\101", RESULT=="A", SYMLINK+="aaa"
|
||||
EOF
|
||||
},
|
||||
# 20
|
||||
{
|
||||
desc => "Handle stupid backslashed multi lines in config file (and replace kernel name)",
|
||||
desc => "Handle stupid backslashed multi lines in config file (and don't replace kernel name)",
|
||||
devices => [
|
||||
{
|
||||
devpath => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0",
|
||||
|
|
Loading…
Reference in a new issue