diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/udev-test.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl index 5f6f864df2..1e06df5220 100644 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -1115,6 +1115,16 @@ BUS="scsi", KERNEL="sda", NAME="node", SUBSYSTEM="block" BUS="scsi", KERNEL="sda", NAME="should_not_match2", SUBSYSTEM="vc" EOF }, + { + desc => "DRIVER test", + subsys => "block", + devpath => "/block/sda", + exp_name => "node", + conf => <<EOF +BUS="scsi", KERNEL="sda", NAME="should_not_match", DRIVER="sd-wrong" +BUS="scsi", KERNEL="sda", NAME="node", DRIVER="sd" +EOF + }, ); # set env |