summaryrefslogtreecommitdiff
path: root/test/udev-test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'test/udev-test.pl')
-rw-r--r--test/udev-test.pl12
1 files changed, 1 insertions, 11 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index e238c909fa..6e031c4c2c 100644
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -194,16 +194,6 @@ BUS="scsi", PLACE="0:0:0:0", NAME="Major:%M:minor:%m:kernelnumber:%n:bus:%b"
EOF
},
{
- desc => "select sysfs attribute by SYSFS{vendor}",
- subsys => "block",
- devpath => "block/sda",
- expected => "disk-IBM-ESXS-sda" ,
- conf => <<EOF
-BUS="scsi", SYSFS{vendor}="IBM-ESXS", NAME="disk-%s{vendor}-%k"
-KERNEL="ttyUSB0", NAME="visor"
-EOF
- },
- {
desc => "sustitution of sysfs value (%s{file})",
subsys => "block",
devpath => "block/sda",
@@ -250,7 +240,7 @@ EOF
devpath => "block/sda/sda3",
expected => "link1" ,
conf => <<EOF
-BUS="scsi", PROGRAM="/bin/echo -n node link1 link2", RESULT="node *", NAME="%1c", SYMLINK="%2c %3c"
+BUS="scsi", PROGRAM="/bin/echo -n node link1 link2", RESULT="node *", NAME="%c{1}", SYMLINK="%c{2} %c{3}"
EOF
},
{