summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/udev-test.pl2
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";