[PATCH] udev-test.pl add subdir test
03-udev-test.pl-add-subdir-test.diff o duplicate existing test and change it to explicitely test the subdir handling
This commit is contained in:
parent
6968d494d7
commit
5499d31905
|
@ -57,6 +57,15 @@ EOF
|
||||||
expected => "visor" ,
|
expected => "visor" ,
|
||||||
conf => <<EOF
|
conf => <<EOF
|
||||||
REPLACE, KERNEL="ttyUSB0", NAME="visor"
|
REPLACE, KERNEL="ttyUSB0", NAME="visor"
|
||||||
|
EOF
|
||||||
|
},
|
||||||
|
{
|
||||||
|
desc => "subdirectory handling",
|
||||||
|
subsys => "tty",
|
||||||
|
devpath => "class/tty/ttyUSB0",
|
||||||
|
expected => "sub/direct/ory/visor" ,
|
||||||
|
conf => <<EOF
|
||||||
|
REPLACE, KERNEL="ttyUSB0", NAME="sub/direct/ory/visor"
|
||||||
EOF
|
EOF
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue