diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/udev-test.pl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl index 2ba63fe83f..5f6f864df2 100644 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -1104,6 +1104,17 @@ EOF KERNEL="sda", NAME="cdrom%e" EOF }, + { + desc => "SUBSYSTEM test", + subsys => "block", + devpath => "/block/sda", + exp_name => "node", + conf => <<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 + }, ); # set env |