chiark / gitweb /
[PATCH] add a "old style" SYSFS_attribute test to udev-test.pl
authorgreg@kroah.com <greg@kroah.com>
Tue, 17 Feb 2004 09:31:42 +0000 (01:31 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:32:28 +0000 (21:32 -0700)
test/udev-test.pl

index 6e031c4..f2f77dd 100644 (file)
@@ -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",