From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Mon, 22 Dec 2003 23:15:43 +0000 Subject: [udev] fix udev-test.pl MIME-Version: 1 Content-Type: multipart/mixed; boundary="J/dobhs11T7y2rNN" Message-Id: List-Id: To: linux-hotplug@vger.kernel.org --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Here is a small fix for udev-test.pl, to print the METHOD also for the "whitespace config" tests. TEST: Handle comment lines in config file (and replace kernel name) method '' for 'class/tty/ttyUSB0' expecting node 'visor' add: ok remove: ok thanks, Kay --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="02-fix-udev-test.diff" diff -Nru a/test/udev-test.pl b/test/udev-test.pl --- a/test/udev-test.pl Tue Dec 23 00:14:29 2003 +++ b/test/udev-test.pl Tue Dec 23 00:14:29 2003 @@ -308,7 +308,7 @@ close CONF; foreach my $config (@tests) { - $config->{conf} =~ m/^([A-Z]*).*/; + $config->{conf} =~ m/([A-Z]+)\s*,/; my $method = $1; print "TEST: $config->{desc}\n"; --J/dobhs11T7y2rNN-- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel