chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6628a2e
)
[PATCH] add test for format chars in multiple symlinks to replace
author
kay.sievers@vrfy.org
<kay.sievers@vrfy.org>
Sat, 30 Oct 2004 11:29:52 +0000
(13:29 +0200)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 05:08:27 +0000
(22:08 -0700)
test/udev-test.pl
patch
|
blob
|
history
diff --git
a/test/udev-test.pl
b/test/udev-test.pl
index a7becf99df36bed2c976c8226822fb6b6a1f35ef..2b9fa8a2380433e42a1f70f88a9c11cf3384ea89 100644
(file)
--- a/
test/udev-test.pl
+++ b/
test/udev-test.pl
@@
-777,6
+777,16
@@
EOF
exp_majorminor => "4094:89999",
conf => <<EOF
KERNEL="i2c-fake2", NAME="node"
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
},
{
EOF
},
{