diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2003-12-22 23:30:51 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:13:10 -0700 |
commit | 5cac7def788fc6dec19dc8185f9c2c7c7c8d49a2 (patch) | |
tree | 3b0d0cd937c7dbd42a6648f2ca3896cbe83e3632 /test/udev-test.pl | |
parent | 808423c90c113294c09faafafebdf4556a093e80 (diff) |
[PATCH] fix udev-test.pl
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
Diffstat (limited to 'test/udev-test.pl')
-rw-r--r-- | test/udev-test.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl index 4773954b9c..3e7068faa6 100644 --- 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"; |