diff mbox series

[v5,1/12] validation: pktio: check sctp flag in parser tests

Message ID 1534845606-17334-2-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v5,1/12] validation: pktio: check sctp flag in parser tests | expand

Commit Message

Github ODP bot Aug. 21, 2018, 9:59 a.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 674 (lumag:sctp-checksum)
 ** https://github.com/Linaro/odp/pull/674
 ** Patch: https://github.com/Linaro/odp/pull/674.patch
 ** Base sha: 912e026c108d7a496ac7467e953dea77dadaaa57
 ** Merge commit sha: 9ab290c4f721a97e8c289b8a7992e6cc6614e7c3
 **/
 test/validation/api/pktio/parser.c | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/test/validation/api/pktio/parser.c b/test/validation/api/pktio/parser.c
index 76df47b1c..f22a62555 100644
--- a/test/validation/api/pktio/parser.c
+++ b/test/validation/api/pktio/parser.c
@@ -301,6 +301,7 @@  static void parser_test_ipv4_icmp(void)
 	CU_ASSERT(!odp_packet_has_ipv6(pkt));
 	CU_ASSERT(!odp_packet_has_tcp(pkt));
 	CU_ASSERT(!odp_packet_has_udp(pkt));
+	CU_ASSERT(!odp_packet_has_sctp(pkt));
 
 	odp_packet_free(pkt);
 }
@@ -318,6 +319,7 @@  static void parser_test_ipv4_tcp(void)
 
 	CU_ASSERT(!odp_packet_has_ipv6(pkt));
 	CU_ASSERT(!odp_packet_has_udp(pkt));
+	CU_ASSERT(!odp_packet_has_sctp(pkt));
 
 	odp_packet_free(pkt);
 }
@@ -335,6 +337,7 @@  static void parser_test_ipv4_udp(void)
 
 	CU_ASSERT(!odp_packet_has_ipv6(pkt));
 	CU_ASSERT(!odp_packet_has_tcp(pkt));
+	CU_ASSERT(!odp_packet_has_sctp(pkt));
 
 	odp_packet_free(pkt);
 }
@@ -353,6 +356,7 @@  static void parser_test_vlan_ipv4_udp(void)
 
 	CU_ASSERT(!odp_packet_has_ipv6(pkt));
 	CU_ASSERT(!odp_packet_has_tcp(pkt));
+	CU_ASSERT(!odp_packet_has_sctp(pkt));
 
 	odp_packet_free(pkt);
 }
@@ -372,6 +376,7 @@  static void parser_test_vlan_qinq_ipv4_udp(void)
 
 	CU_ASSERT(!odp_packet_has_ipv6(pkt));
 	CU_ASSERT(!odp_packet_has_tcp(pkt));
+	CU_ASSERT(!odp_packet_has_sctp(pkt));
 
 	odp_packet_free(pkt);
 }
@@ -390,6 +395,7 @@  static void parser_test_ipv6_icmp(void)
 	CU_ASSERT(!odp_packet_has_ipv4(pkt));
 	CU_ASSERT(!odp_packet_has_tcp(pkt));
 	CU_ASSERT(!odp_packet_has_udp(pkt));
+	CU_ASSERT(!odp_packet_has_sctp(pkt));
 
 	odp_packet_free(pkt);
 }
@@ -407,6 +413,7 @@  static void parser_test_ipv6_tcp(void)
 
 	CU_ASSERT(!odp_packet_has_ipv4(pkt));
 	CU_ASSERT(!odp_packet_has_udp(pkt));
+	CU_ASSERT(!odp_packet_has_sctp(pkt));
 
 	odp_packet_free(pkt);
 }
@@ -424,6 +431,7 @@  static void parser_test_ipv6_udp(void)
 
 	CU_ASSERT(!odp_packet_has_ipv4(pkt));
 	CU_ASSERT(!odp_packet_has_tcp(pkt));
+	CU_ASSERT(!odp_packet_has_sctp(pkt));
 
 	odp_packet_free(pkt);
 }
@@ -442,6 +450,7 @@  static void parser_test_vlan_ipv6_udp(void)
 
 	CU_ASSERT(!odp_packet_has_ipv4(pkt));
 	CU_ASSERT(!odp_packet_has_tcp(pkt));
+	CU_ASSERT(!odp_packet_has_sctp(pkt));
 
 	odp_packet_free(pkt);
 }