summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-10-01 00:39:07 +0200
committerPhil Sutter <phil@nwl.cc>2022-10-26 20:11:55 +0200
commit7fb5c17796c5bceee9184bf40498b69459be69db (patch)
tree6cdd7328be049f929f4b2e636dbeb52508d21599 /extensions
parentd437626ebf97d55018a2df3bf5954b6cdd2fc775 (diff)
tests: libxt_length.t: Fix odd use-case output
Specifying the lower boundary suffixed by colon is an undocumented feature. Explicitly printing the upper boundary in that case seems sane. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libxt_length.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_length.t b/extensions/libxt_length.t
index 0b6624ee..8b70fc31 100644
--- a/extensions/libxt_length.t
+++ b/extensions/libxt_length.t
@@ -2,7 +2,7 @@
-m length --length 1;=;OK
-m length --length :2;-m length --length 0:2;OK
-m length --length 0:3;=;OK
--m length --length 4:;=;OK
+-m length --length 4:;-m length --length 4:65535;OK
-m length --length 0:65535;=;OK
-m length ! --length 0:65535;=;OK
-m length --length 0:65536;;FAIL