mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-22 15:10:20 +07:00
[PATCH] add test for callout rule with a device that has no bus.
This commit is contained in:
parent
fe0a916c31
commit
8ff8bbbadd
@ -212,6 +212,16 @@ EOF
|
||||
expected => "link1" ,
|
||||
conf => <<EOF
|
||||
CALLOUT, BUS="scsi", PROGRAM="/bin/echo -n node link1 link2", ID="node *", NAME="%1c", SYMLINK="%2c %3c"
|
||||
EOF
|
||||
},
|
||||
{
|
||||
desc => "callout for device with no bus",
|
||||
subsys => "tty",
|
||||
devpath => "class/tty/console",
|
||||
expected => "TTY" ,
|
||||
conf => <<EOF
|
||||
CALLOUT, BUS="scsi", PROGRAM="/bin/echo -n foo", ID="foo", NAME="foo"
|
||||
REPLACE, KERNEL="console", NAME="TTY"
|
||||
EOF
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user