From 2092fbcdebf5313f29b43bdaa57a22baf0c0269f Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Sat, 13 Nov 2004 05:21:12 +0100 Subject: [PATCH] support DRIVER as a rule key Match with a rule against a device with a specific kernel driver. --- test/udev-test.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test') 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 @@ -1113,6 +1113,16 @@ EOF BUS="scsi", KERNEL="sda", NAME="should_not_match", SUBSYSTEM="vc" 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 => <