From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 2D69E5681 for ; Wed, 17 Oct 2018 07:41:17 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Oct 2018 22:41:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,391,1534834800"; d="scan'208";a="100885131" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by orsmga002.jf.intel.com with ESMTP; 16 Oct 2018 22:41:15 -0700 From: wenjieli To: dts@dpdk.org Cc: wenjieli Date: Wed, 17 Oct 2018 13:44:13 +0800 Message-Id: <1539755053-9901-1-git-send-email-wenjiex.a.li@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/ptype_mapping: remove the action of insert printf to app/test-pmd/rxonly.c 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: , X-List-Received-Date: Wed, 17 Oct 2018 05:41:17 -0000 'self.dut.send_expect("sed ...' insert a new line in app/test-pmd/rxonly.c, this is useless and could cause compile error, remove it. Signed-off-by: wenjieli --- tests/TestSuite_ptype_mapping.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/TestSuite_ptype_mapping.py b/tests/TestSuite_ptype_mapping.py index 8f310e8..efe52ff 100644 --- a/tests/TestSuite_ptype_mapping.py +++ b/tests/TestSuite_ptype_mapping.py @@ -53,9 +53,6 @@ class TestPtype_Mapping(TestCase): self.dut_port = valports[0] tester_port = self.tester.get_local_port(self.dut_port) self.tester_iface = self.tester.get_interface(tester_port) - self.dut.send_expect("sed -i -e '/mb->vlan_tci, mb->vlan_tci_outer);" +\ - "/a\printf(\" - pktype: 0x%x\", mb->packet_type);'" +\ - " app/test-pmd/rxonly.c", "# ", 30, verify = True) self.dut.build_install_dpdk(self.dut.target) @@ -229,8 +226,6 @@ class TestPtype_Mapping(TestCase): """ Run after each test suite. """ - self.dut.send_expect("sed -i '/printf(\" - pktype: 0x%x\", " +\ - "mb->packet_type);/d' app/test-pmd/rxonly.c", "# ", 30, verify = True) self.dut.build_install_dpdk(self.dut.target) self.dut.kill_all() pass -- 2.17.2