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 3e7068faa6d84f0d3643b09a19ee7117375e2c22..ea1d8611efa6f377966c87d30dd7657d62e9d11e 100644 (file)
@@ -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
        },
        {