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:
fe0a916
)
[PATCH] add test for callout rule with a device that has no bus.
author
greg@kroah.com
<greg@kroah.com>
Thu, 25 Dec 2003 07:56:54 +0000
(23:56 -0800)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:13:11 +0000
(21:13 -0700)
test/udev-test.pl
patch
|
blob
|
history
diff --git
a/test/udev-test.pl
b/test/udev-test.pl
index 3e7068faa6d84f0d3643b09a19ee7117375e2c22..ea1d8611efa6f377966c87d30dd7657d62e9d11e 100644
(file)
--- a/
test/udev-test.pl
+++ b/
test/udev-test.pl
@@
-212,6
+212,16
@@
EOF
expected => "link1" ,
conf => <<EOF
CALLOUT, BUS="scsi", PROGRAM="/bin/echo -n node link1 link2", ID="node *", NAME="%1c", SYMLINK="%2c %3c"
+EOF
+ },
+ {
+ desc => "callout for device with no bus",
+ subsys => "tty",
+ devpath => "class/tty/console",
+ expected => "TTY" ,
+ conf => <<EOF
+CALLOUT, BUS="scsi", PROGRAM="/bin/echo -n foo", ID="foo", NAME="foo"
+REPLACE, KERNEL="console", NAME="TTY"
EOF
},
{