summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/udp.t
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-07-21 15:57:15 +0200
committerFlorian Westphal <fw@strlen.de>2016-07-21 17:22:05 +0200
commit6c0cb3d568322cc4dc9854980fd3b9d6e8c8046e (patch)
tree933bd16d2995bf5d2fd2d6cbd1cff878852bad45 /tests/py/inet/udp.t
parenta4fe9cfe788706c0bf1c3a40b7c92f1d2bebf7e7 (diff)
tests: add basic payload tests
payload set operations should work at least for byte-sized quantities >= 2 byte. Before adding support for odd-sized writes (ecn, dscp, ip6 flowlabel ...) add a bunch of tests to cover current state. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/inet/udp.t')
-rw-r--r--tests/py/inet/udp.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/py/inet/udp.t b/tests/py/inet/udp.t
index 8cff2c69..ea9c87b4 100644
--- a/tests/py/inet/udp.t
+++ b/tests/py/inet/udp.t
@@ -50,3 +50,7 @@ udp checksum { 33, 55, 67, 88};ok
- udp checksum != { 33, 55, 67, 88};ok
udp checksum { 33-55};ok
- udp checksum != { 33-55};ok
+
+# limit impact to lo
+iif lo udp checksum set 0;ok
+iif lo udp dport set 65535;ok