mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-03-06 04:20:29 +07:00
[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
This commit is contained in:
parent
808423c90c
commit
5cac7def78
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user