[dts] [PATCH V1] tests/ipfrag:Modify the judgment content.

Yao, BingX Y bingx.y.yao at intel.com
Tue Jul 2 11:51:51 CEST 2019


Tested-by: Yao, BingX Y <bingx.y.yao at intel.com>

-----Original Message-----
From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhu,shuai
Sent: Tuesday, July 2, 2019 5:52 PM
To: dts at dpdk.org
Cc: Zhu, ShuaiX <shuaix.zhu at intel.com>
Subject: [dts] [PATCH V1] tests/ipfrag:Modify the judgment content.

The value is modified due to changes in dpdk 19.08.rc0.
commit 4b06b0771f321bd4301075eaff64452261a45a4d

Signed-off-by: zhu,shuai <shuaix.zhu at intel.com>
---
 tests/TestSuite_ipfrag.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_ipfrag.py b/tests/TestSuite_ipfrag.py index a6cb629..f6d0373 100644
--- a/tests/TestSuite_ipfrag.py
+++ b/tests/TestSuite_ipfrag.py
@@ -249,7 +249,7 @@ l3fwd_ipv4_route_array[] = {\\\n"
 
                     # fragment offset should be correct
                     frag = pkt.strip_element_layer4("offset")
-                    self.verify((frag == int((idx - 1) * 182)), "Fragment packet frag not match")
+                    self.verify((frag == int((idx - 1) * 181)), 
+ "Fragment packet frag not match")
                     idx += 1
 
     def set_up(self):
--
2.17.2



More information about the dts mailing list