Skip to contentSkip to conversation

selftests: Add tests for vrf and xfrms

PATCH Applied David Ahern 2 participants 2 messages Apr 22, 2020 – Apr 23, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests: Add tests for vrf and xfrms

From: David Ahern <[email protected]>

Add tests for vrf and xfrms with a second round after adding a qdisc. There are a few known problems documented with the test cases that fail. The fix is non-trivial; will come back to it when time allows.

---
 tools/testing/selftests/net/Makefile          |   1 +
 tools/testing/selftests/net/vrf-xfrm-tests.sh | 436 ++++++++++++++++++
 2 files changed, 437 insertions(+)
 create mode 100755 tools/testing/selftests/net/vrf-xfrm-tests.sh
tools/testing/selftests/net/Makefile +1 -0
index 3f386eb9e7d7..895ec992b2f1 100644
@@ -16,6 +16,7 @@ TEST_PROGS += altnames.sh icmp_redirect.sh ip6_gre_headroom.sh
 TEST_PROGS += route_localnet.sh
 TEST_PROGS += reuseaddr_ports_exhausted.sh
 TEST_PROGS += txtimestamp.sh
+TEST_PROGS += vrf-xfrm-tests.sh
 TEST_PROGS_EXTENDED := in_netns.sh
 TEST_GEN_FILES =  socket nettest
 TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy reuseport_addr_any
tools/testing/selftests/net/vrf-xfrm-tests.sh new file +436 -0

436 lines not on this page · raw message

Signature · 1 line
2.20.1
maintainer Applied
#1 lore raw

From: David Ahern <[email protected]>
Date: Tue, 21 Apr 2020 18:40:22 -0600

Quoted 8 lines

From: David Ahern <[email protected]>

Add tests for vrf and xfrms with a second round after adding a qdisc. There are a few known problems documented with the test cases that fail. The fix is non-trivial; will come back to it when time allows.

Applied, thanks.