summaryrefslogtreecommitdiff
path: root/test/udev-test.pl
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-08-13 04:23:16 +0200
committerKay Sievers <kay.sievers@suse.de>2006-08-13 04:23:16 +0200
commitd4ae9925eecf6df33ca5bc4d285bdc71f9274952 (patch)
tree20ce3c67f403bdb94bce5555a4a161f29e97d9db /test/udev-test.pl
parent9a8ad783a48791c5eaa35697d0a4befd705085fd (diff)
don't report an error on overlong comment lines
Diffstat (limited to 'test/udev-test.pl')
-rwxr-xr-xtest/udev-test.pl12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 9a88d06271..63715ac093 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -1500,6 +1500,18 @@ KERNEL="sda1", NAME=="no"
KERNEL=="sda1", NAME="yes"
EOF
},
+ {
+ desc => "overlong comment line",
+ subsys => "block",
+ devpath => "/block/sda/sda1",
+ exp_name => "yes",
+ rules => <<EOF
+# 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
+ # 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
+KERNEL="sda1", NAME=="no"
+KERNEL=="sda1", NAME="yes"
+EOF
+ },
);
# set env