diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-06-03 12:29:46 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-06-03 12:29:46 +0200 |
commit | 4ad47b2de6534dce23fd3182ec1e7472e299b05f (patch) | |
tree | bb4df6f30faf428ec230cf03ac86da2cf6f75ee6 /test | |
parent | 953249a3a01cbd442b42558168da6c76a92a0e40 (diff) |
add "[$SUBSYSTEM/$KERNEL]<attribute>" lookup
Diffstat (limited to 'test')
-rwxr-xr-x | test/udev-test.pl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl index 10d87ed54a..53499d8871 100755 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -1561,6 +1561,15 @@ KERNEL="sda1", NAME=="no" KERNEL=="sda1", NAME="yes" EOF }, + { + desc => "magic subsys/kernel lookup", + subsys => "block", + devpath => "/block/sda", + exp_name => "00:e0:00:fb:04:e1", + rules => <<EOF +KERNEL=="sda", NAME="\$attr{[net/eth0]address}" +EOF + }, ); # set env |