From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1CBC0A2EEB for ; Thu, 12 Sep 2019 08:55:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0CDAA1E535; Thu, 12 Sep 2019 08:55:00 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id D83711E4EC for ; Thu, 12 Sep 2019 08:54:58 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Sep 2019 23:54:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,495,1559545200"; d="scan'208";a="186046421" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga007.fm.intel.com with ESMTP; 11 Sep 2019 23:54:57 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 11 Sep 2019 23:54:57 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 11 Sep 2019 23:54:56 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.113]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.92]) with mapi id 14.03.0439.000; Thu, 12 Sep 2019 14:54:54 +0800 From: "Zhao, XinfengX" To: "dts@dpdk.org" CC: "Chen, Zhaoyan" Thread-Topic: [dts][PATCH] tests: nsh has to be loaded explicitly Thread-Index: AQHVaTbaFbm043g/BUeeC0Ms1zJNmqcnm2VA Date: Thu, 12 Sep 2019 06:54:53 +0000 Message-ID: <44051B25D8C8784BB77FFB604D6A70CA12089218@shsmsx102.ccr.corp.intel.com> References: <1568241926-77367-1-git-send-email-xinfengx.zhao@intel.com> In-Reply-To: <1568241926-77367-1-git-send-email-xinfengx.zhao@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH] tests: nsh has to be loaded explicitly 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" Tested-by: Zhao, XinfengX -----Original Message----- From: Zhao, XinfengX=20 Sent: Thursday, September 12, 2019 6:45 AM To: dts@dpdk.org Cc: Zhao, XinfengX Subject: [dts][PATCH] tests: nsh has to be loaded explicitly Signed-off-by: Xinfeng Zhao --- tests/TestSuite_uni_pkt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py index = 2b60320..9d0dcc4 100644 --- a/tests/TestSuite_uni_pkt.py +++ b/tests/TestSuite_uni_pkt.py @@ -438,6 +438,7 @@ class TestUniPacket(TestCase): =20 for packet in nsh_packets: self.tester.scapy_foreground() + self.tester.scapy_append("from scapy.contrib.nsh import *") self.tester.scapy_append("sendp([%s],iface=3D'%s')" % (nsh_pac= kets[packet], self.tester_iface)) self.tester.scapy_execute() out =3D self.dut.get_session_output(timeout=3D2) -- 2.17.1