1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03: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:
kay.sievers@vrfy.org 2003-12-22 23:30:51 -08:00 committed by Greg KH
parent 808423c90c
commit 5cac7def78

View File

@ -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";