diff options
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 |