cover too long selector (tag, class, id, etc) - webdump_tests - Testfiles for webdump
HTML git clone git://git.codemadness.org/webdump_tests
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit f1a6411901f7a27b6ff0481a6776de01d6948a9e
DIR parent 9eed523b50f6caa1cd7086d166cf611bc54ecc7d
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 3 Jul 2026 14:11:22 +0200
cover too long selector (tag, class, id, etc)
Diffstat:
M run_coverage.sh | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
DIR diff --git a/run_coverage.sh b/run_coverage.sh
@@ -16,7 +16,13 @@ echo | "$bin" -X 2>/dev/null
echo | "$bin" -s 'one,two,three,a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h' 2>/dev/null
echo | "$bin" -u 'one,two,three,a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h' 2>/dev/null
-# invalid number
+# 256 byte limit per tag name, index, id and class.
+echo | "$bin" -s 'a012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789' 2>/dev/null
+echo | "$bin" -s 'a.012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789' 2>/dev/null
+echo | "$bin" -s 'a#012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789' 2>/dev/null
+echo | "$bin" -s 'a@012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789' 2>/dev/null
+
+# invalid number for term width.
echo | "$bin" -w plop 2>/dev/null
run() {