From 6c0cb3d568322cc4dc9854980fd3b9d6e8c8046e Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Thu, 21 Jul 2016 15:57:15 +0200 Subject: 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 --- tests/py/ip6/ip6.t | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/py/ip6/ip6.t') diff --git a/tests/py/ip6/ip6.t b/tests/py/ip6/ip6.t index 2278618f..0a58fa8d 100644 --- a/tests/py/ip6/ip6.t +++ b/tests/py/ip6/ip6.t @@ -141,3 +141,7 @@ ip6 saddr ::1 ip6 daddr ::2;ok - ip6 daddr != {::1234:1234:1234:1234:1234:1234:1234, 1234:1234::1234:1234:1234:1234:1234 };ok ip6 daddr != ::1234:1234:1234:1234:1234:1234:1234-1234:1234::1234:1234:1234:1234:1234;ok;ip6 daddr != 0:1234:1234:1234:1234:1234:1234:1234-1234:1234:0:1234:1234:1234:1234:1234 + +# limit impact to lo +iif lo ip6 daddr set ::1;ok +iif lo ip6 hoplimit set 1;ok -- cgit v1.2.3