From 64682333bb02d946c179bc729da687f6c85bf9e8 Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Thu, 25 Dec 2003 00:33:56 -0800 Subject: [PATCH] add tests for LABEL rule with a device that has no bus. --- test/udev-test.pl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/test/udev-test.pl b/test/udev-test.pl index 9538cba2d1..97c0094921 100644 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -231,6 +231,27 @@ EOF expected => "foo" , conf => < "invalid label for device with no bus", + subsys => "tty", + devpath => "class/tty/console", + expected => "TTY" , + conf => < "valid label for device with no bus", + subsys => "tty", + devpath => "class/tty/console", + expected => "foo" , + conf => <