summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-02-17 01:31:42 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:32:28 -0700
commit595251156b858956acd10e7765adb916dc890f96 (patch)
tree49b60d7dcdcfb9836d5df8ed3537760391ae0b7a /test
parent88f09368b3dc2d17cf2ce1a4841e42a120a4dbb9 (diff)
[PATCH] add a "old style" SYSFS_attribute test to udev-test.pl
Diffstat (limited to 'test')
-rw-r--r--test/udev-test.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 6e031c4c2c..f2f77dd0e4 100644
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -194,6 +194,15 @@ BUS="scsi", PLACE="0:0:0:0", NAME="Major:%M:minor:%m:kernelnumber:%n:bus:%b"
EOF
},
{
+ desc => "old style SYSFS_ attribute",
+ subsys => "block",
+ devpath => "block/sda",
+ expected => "good" ,
+ conf => <<EOF
+BUS="scsi", SYSFS_vendor="IBM-ESXS", NAME="good"
+EOF
+ },
+ {
desc => "sustitution of sysfs value (%s{file})",
subsys => "block",
devpath => "block/sda",