diff options
author | greg@kroah.com <greg@kroah.com> | 2003-12-24 23:56:54 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:13:11 -0700 |
commit | 8ff8bbbaddaa30a7ec60d066652bca2628eaeb69 (patch) | |
tree | 2ede1f2f376fc42eede07fedec7b2d194b8c2d43 /test/udev-test.pl | |
parent | fe0a916c31fd597d29adbfb701656c08b462bcbe (diff) |
[PATCH] add test for callout rule with a device that has no bus.
Diffstat (limited to 'test/udev-test.pl')
-rw-r--r-- | test/udev-test.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl index 3e7068faa6..ea1d8611ef 100644 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -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", |