]> err.no Git - systemd/commitdiff
[PATCH] add test for format chars in multiple symlinks to replace
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Sat, 30 Oct 2004 11:29:52 +0000 (13:29 +0200)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 05:08:27 +0000 (22:08 -0700)
test/udev-test.pl

index a7becf99df36bed2c976c8226822fb6b6a1f35ef..2b9fa8a2380433e42a1f70f88a9c11cf3384ea89 100644 (file)
@@ -777,6 +777,16 @@ EOF
                exp_majorminor  => "4094:89999",
                conf            => <<EOF
 KERNEL="i2c-fake2", NAME="node"
+EOF
+       },
+       {
+               desc            => "multiple symlinks with format char",
+               subsys          => "tty",
+               devpath         => "/class/tty/ttyUSB0",
+               exp_name        => "symlink2-ttyUSB0",
+               exp_target      => "ttyUSB0",
+               conf            => <<EOF
+KERNEL="ttyUSB[0-9]*", NAME="ttyUSB%n", SYMLINK="symlink1-%n symlink2-%k symlink3-%b"
 EOF
        },
        {