chiark / gitweb /
[PATCH] udev-test.pl add subdir test
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Tue, 25 Nov 2003 06:27:23 +0000 (22:27 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:04 +0000 (21:13 -0700)
03-udev-test.pl-add-subdir-test.diff
  o duplicate existing test and change it to explicitely test the subdir handling

test/udev-test.pl

index e4a4ddcda8ab31a8a277ce3b40a4410803f3ab1a..2835489238d2462a546326488f52d94230581282 100644 (file)
@@ -57,6 +57,15 @@ EOF
                expected => "visor" ,
                conf     => <<EOF
 REPLACE, KERNEL="ttyUSB0", NAME="visor"
+EOF
+       },
+       {
+               desc     => "subdirectory handling",
+               subsys   => "tty",
+               devpath  => "class/tty/ttyUSB0",
+               expected => "sub/direct/ory/visor" ,
+               conf     => <<EOF
+REPLACE, KERNEL="ttyUSB0", NAME="sub/direct/ory/visor"
 EOF
        },
        {