From 864b9b5e37b5e480d0e23507d4dd8360525ad453 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 25 Feb 2007 01:06:20 +0100 Subject: [PATCH] add test for an attribute which contains an operator char --- TODO | 2 ++ test/sys/block/sda/test:colon+plus | 1 + test/udev-test.pl | 11 ++++++++++- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 test/sys/block/sda/test:colon+plus diff --git a/TODO b/TODO index 7afef5fe9..5d5a058e9 100644 --- a/TODO +++ b/TODO @@ -3,10 +3,12 @@ These things would be nice to have: to syslog, so any error logged from the kernel can be associated with any of the links at that time + These things will change in future udev versions: o warn if BUS, ID, SYSFS are used as keys (they are SUBSYSTEMS, KERNELS, ATTRS now) + These things are deprecated and scheduled for removal in a future udev version: o remove old udevdb dump 'udevinfo -d' diff --git a/test/sys/block/sda/test:colon+plus b/test/sys/block/sda/test:colon+plus new file mode 100644 index 000000000..0fed9a5d6 --- /dev/null +++ b/test/sys/block/sda/test:colon+plus @@ -0,0 +1 @@ +colon diff --git a/test/udev-test.pl b/test/udev-test.pl index 73d99297d..36cbe8ac7 100755 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -1556,8 +1556,17 @@ EOF devpath => "/block/sda/sda1", exp_name => "yes", rules => < "operator chars in attribute", + subsys => "block", + devpath => "/block/sda", + exp_name => "yes", + rules => <