chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
808423c
)
[PATCH] fix udev-test.pl
author
kay.sievers@vrfy.org
<kay.sievers@vrfy.org>
Tue, 23 Dec 2003 07:30:51 +0000
(23:30 -0800)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:13:10 +0000
(21:13 -0700)
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
test/udev-test.pl
patch
|
blob
|
history
diff --git
a/test/udev-test.pl
b/test/udev-test.pl
index 4773954b9cef9ce9a6b81e1fcf47b1bfaeac8d8b..3e7068faa6d84f0d3643b09a19ee7117375e2c22 100644
(file)
--- a/
test/udev-test.pl
+++ b/
test/udev-test.pl
@@
-328,7
+328,7
@@
print CONF "udev_permissions=\"$perm\"\n";
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";