summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_dscp.t
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-10-01 00:43:40 +0200
committerPhil Sutter <phil@nwl.cc>2022-10-26 20:11:55 +0200
commit52aa94da55a7e5f156cf9e7f608317ac53ce291c (patch)
tree5c3a40dc3e9805d86f6c873fef29336fd5c4578f /extensions/libxt_dscp.t
parent790d17313c19e9a6bfb2ccd9a23f7f56d62814a9 (diff)
tests: *.t: Fix for hexadecimal output
Use hex input to avoid having to specify an expected output in trivial cases. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libxt_dscp.t')
-rw-r--r--extensions/libxt_dscp.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_dscp.t b/extensions/libxt_dscp.t
index 38d7f04e..e0101906 100644
--- a/extensions/libxt_dscp.t
+++ b/extensions/libxt_dscp.t
@@ -1,5 +1,5 @@
:INPUT,FORWARD,OUTPUT
--m dscp --dscp 0;=;OK
+-m dscp --dscp 0x00;=;OK
-m dscp --dscp 0x3f;=;OK
-m dscp --dscp -1;;FAIL
-m dscp --dscp 0x40;;FAIL