[PATCH] add test for checking the BUS value.

This commit is contained in:
greg@kroah.com 2003-11-26 17:45:26 -08:00 committed by Greg KH
parent 137af0cc47
commit 772558f4e9
1 changed files with 11 additions and 0 deletions

View File

@ -124,6 +124,17 @@ EOF
expected => "lun0/part2" ,
conf => <<EOF
LABEL, BUS="scsi", vendor="IBM-ESXS", NAME="lun0/%D"
EOF
},
{
desc => "callout bus type",
subsys => "block",
devpath => "block/sda",
expected => "scsi-0:0:0:0" ,
conf => <<EOF
CALLOUT, BUS="usb", PROGRAM="/bin/echo -n usb-%b", ID="*", NAME="%c"
CALLOUT, BUS="scsi", PROGRAM="/bin/echo -n scsi-%b", ID="*", NAME="%c"
CALLOUT, BUS="foo", PROGRAM="/bin/echo -n foo-%b", ID="*", NAME="%c"
EOF
},
);