chiark / gitweb /
[PATCH] fix log option code so that it actually works for all udev programs.
[elogind.git] / test / udev-test.pl
index b7013e4bdeb18a7803296a2d383d5367817a8e8c..0700e535767ef79d9115bede4e9d0a9405b8d1c5 100644 (file)
@@ -317,6 +317,15 @@ EOF
                expected => "second-0" ,
                conf     => <<EOF
 KERNEL="ttyUSB0", NAME="visor", SYMLINK="first-%n second-%n third-%n"
+EOF
+       },
+       {
+               desc     => "sysfs parent heirachy",
+               subsys   => "tty",
+               devpath  => "class/tty/ttyUSB0",
+               expected => "visor" ,
+               conf     => <<EOF
+SYSFS_idProduct="2008", NAME="visor"
 EOF
        },
 );