From a72e3f666b897f94a64547ace3af74785d2f6771 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 7 Jul 2005 22:40:09 +0200 Subject: [PATCH] fix typo in group assignment Thanks to: Georgi Georgiev --- test/udev-test.pl | 26 +++++++++++++++++++++++++- udev_rules_parse.c | 2 +- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/test/udev-test.pl b/test/udev-test.pl index 52104714..6fbc23e5 100755 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -1090,7 +1090,8 @@ EOF desc => "ignore rule test", subsys => "block", devpath => "/block/sda", - exp_name => "node", + exp_name => "nothing", + not_exp_name => "node", exp_add_error => "yes", rules => < "test empty NAME", + subsys => "tty", + devpath => "/class/tty/ttyUSB0", + exp_name => "node", + not_exp_name => "wrong", + exp_add_error => "yes", + rules => < "test empty NAME 2", + subsys => "tty", + devpath => "/class/tty/ttyUSB0", + exp_name => "right", + rules => <owner, operation, group); + add_rule_key(rule, &rule->group, operation, group); continue; } } -- 2.39.5