[PATCH] add test for callout rule with a device that has no bus.

This commit is contained in:
greg@kroah.com 2003-12-24 23:56:54 -08:00 committed by Greg KH
parent fe0a916c31
commit 8ff8bbbadd
1 changed files with 10 additions and 0 deletions

View File

@ -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
},
{