From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 10075A0471 for ; Mon, 17 Jun 2019 08:26:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B4E9D1BDF4; Mon, 17 Jun 2019 08:26:13 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 5005A1BCC1 for ; Mon, 17 Jun 2019 08:26:12 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5H6KRLA030783 for ; Sun, 16 Jun 2019 23:26:11 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=cAbTkF+5cXZHACnzN51jSKaokgWa7GkWc9b034an61A=; b=h5kaLD1buqhXDlxKtsEU5CfOTyyykug4k0ma0ZVc6mAOeZgm8UUo8as1YPW16j0rlVng tH7+kiI0dssutp4KkZuQ7QWdvj1MVK2c06Hi8G65iTv5JmXq8Wvc2tV/yu1/0tJsoGaJ qAtxXMY71yIyhRtkip2jzHwatXdUYfHa3RYhfHC/afEkurUbReeQrYhMJDWUIQLoY0Wv Kzigzu6LWW3KUJ1K/udS/r/oxnAhz3cv11Vk9rqkbJ1GfEtBHVa8SgeiUurcY2LF2Tss fXjnL2NBTqq58FKRgjSDuMJZ9qv0J/h3up1uZeWo5rOAVhKBfdygXx5tIkX1bIyJWY0J Sw== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 2t506hwhe1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Sun, 16 Jun 2019 23:26:11 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 16 Jun 2019 23:26:09 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Sun, 16 Jun 2019 23:26:09 -0700 Received: from phanendra-system.marvell.com (unknown [10.28.11.20]) by maili.marvell.com (Postfix) with ESMTP id 13EF93F7040; Sun, 16 Jun 2019 23:26:07 -0700 (PDT) From: To: CC: , , Phanendra Vukkisala Date: Mon, 17 Jun 2019 11:56:04 +0530 Message-ID: <1560752764-24889-1-git-send-email-pvukkisala@marvell.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-17_04:, , signatures=0 Subject: [dts] [PATCH] dual_vlan: Support this test in vector mode X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" From: Phanendra Vukkisala Adding extra enter after killing tcpdump to aviod killed ouput comes as part of next tcpdump read command Signed-off-by: Phanendra Vukkisala --- tests/TestSuite_dual_vlan.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_dual_vlan.py b/tests/TestSuite_dual_vlan.py index 63bb715..45343a1 100644 --- a/tests/TestSuite_dual_vlan.py +++ b/tests/TestSuite_dual_vlan.py @@ -119,6 +119,7 @@ class TestDualVlan(TestCase): def get_tcpdump_package(self): self.tester.send_expect("killall tcpdump", "#") + self.tester.send_expect(" ", "#") return self.tester.send_expect("tcpdump -nn -e -v -r ./getPackageByTcpdump.cap", "#") def vlan_send_packet(self, *vid): @@ -136,7 +137,7 @@ class TestDualVlan(TestCase): vlanString = 'sendp([Ether(dst="%s")/' % mac for i in range(len(vid)): vlanString += "Dot1Q(id=0x8100,vlan=%s)/" % vid[i] - vlanString += 'IP(len=46)],iface="%s")' % txItf + vlanString += 'IP(len=46)],iface="%s", count=4)' % txItf self.tester.scapy_append(vlanString) -- 1.7.9.5