summaryrefslogtreecommitdiff
path: root/test/udev-test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'test/udev-test.pl')
-rwxr-xr-xtest/udev-test.pl11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 73d99297d2..36cbe8ac75 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -1556,11 +1556,20 @@ EOF
devpath => "/block/sda/sda1",
exp_name => "yes",
rules => <<EOF
-KERNEL="sda1", NAME=="no"
+KERNEL="sda1", NAME="no"
KERNEL=="sda1", NAME="yes"
EOF
},
{
+ desc => "operator chars in attribute",
+ subsys => "block",
+ devpath => "/block/sda",
+ exp_name => "yes",
+ rules => <<EOF
+KERNEL=="sda", ATTR{test:colon+plus}=="?*", NAME="yes"
+EOF
+ },
+ {
desc => "overlong comment line",
subsys => "block",
devpath => "/block/sda/sda1",