test suite reviews and discussions
 help / color / Atom feed
From: "Zhu, WenhuiX" <wenhuix.zhu@intel.com>
To: "Zhang, YanX A" <yanx.a.zhang@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Zhang, YanX A" <yanx.a.zhang@intel.com>
Subject: Re: [dts] [PATCH V1] tests/TestSuite_iavf:Modify syntax error
Date: Thu, 12 Sep 2019 08:11:18 +0000
Message-ID: <E08767FB2CE10642B6780736EAC070F6049C613C@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <1568275948-85614-1-git-send-email-yanx.a.zhang@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1244 bytes --]

Tested-by: Zhu, WenhuiX <wenhuix.zhu@intel.com>

-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhang,yan
Sent: Thursday, September 12, 2019 4:12 PM
To: dts@dpdk.org
Cc: Zhang, YanX A <yanx.a.zhang@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_iavf:Modify syntax error

Modify syntax error.

Signed-off-by: zhang,yan <yanx.a.zhang@intel.com>
 tests/TestSuite_iavf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_iavf.py b/tests/TestSuite_iavf.py index 1ee5f77..9395555 100644
--- a/tests/TestSuite_iavf.py
+++ b/tests/TestSuite_iavf.py
@@ -588,7 +588,7 @@ class TestIavf(TestCase):
             rec_pkt = self.tester.load_tcpdump_sniff_packets(inst)
             # collect checksum values for received packet
-            chksum = rec_pkt[0].pktgen.pkt.s("%IP.chksum%;%TCP.chksum%;%UDP.chksum%;%SCTP.chksum%").split(";")
+            chksum = 
+ rec_pkt[0].pktgen.pkt.sprintf("%IP.chksum%;%TCP.chksum%;%UDP.chksum%;%
+ SCTP.chksum%").split(";")
             chksum = list(set(chksum))
             corrected_checksum_values[packet] = chksum

[-- Attachment #2: TestIavf.log --]
[-- Type: application/octet-stream, Size: 495784 bytes --]

      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-12  8:12 zhang,yan
2019-09-12  8:11 ` Zhu, WenhuiX [this message]

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E08767FB2CE10642B6780736EAC070F6049C613C@shsmsx102.ccr.corp.intel.com \
    --to=wenhuix.zhu@intel.com \
    --cc=dts@dpdk.org \
    --cc=yanx.a.zhang@intel.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
	public-inbox-index dts

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/ public-inbox