diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-11-13 05:21:12 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 22:26:25 -0700 |
commit | 2092fbcdebf5313f29b43bdaa57a22baf0c0269f (patch) | |
tree | 81a534c099ab35af05f0faaad17ab76635be9717 /test | |
parent | 6818c51d7abeab9914eb7193968b1efa9459a853 (diff) |
[PATCH] support DRIVER as a rule key
Match with a rule against a device with a specific kernel driver.
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 |