chiark / gitweb /
[PATCH] add test for callout rule with a device that has no bus.
authorgreg@kroah.com <greg@kroah.com>
Thu, 25 Dec 2003 07:56:54 +0000 (23:56 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:11 +0000 (21:13 -0700)
test/udev-test.pl

index 3e7068f..ea1d861 100644 (file)
@@ -215,6 +215,16 @@ CALLOUT, BUS="scsi", PROGRAM="/bin/echo -n node link1 link2", ID="node *", NAME=
 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
+       },
+       {
                desc     => "devfs disk naming substitution",
                subsys   => "block",
                devpath  => "block/sda",