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 773ACA2EFC for ; Fri, 20 Sep 2019 08:08:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4558F1F2AC; Fri, 20 Sep 2019 08:08:06 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 036B71F2AA for ; Fri, 20 Sep 2019 08:08:04 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2019 23:08:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,527,1559545200"; d="scan'208";a="189843060" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga003.jf.intel.com with ESMTP; 19 Sep 2019 23:08:03 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 19 Sep 2019 23:07:23 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 19 Sep 2019 23:07:23 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.92]) by shsmsx102.ccr.corp.intel.com ([169.254.2.113]) with mapi id 14.03.0439.000; Fri, 20 Sep 2019 14:07:21 +0800 From: "Tu, Lijuan" To: "Zhao, XinfengX" , "dts@dpdk.org" CC: "Zhao, XinfengX" Thread-Topic: [dts] [PATCH] tests: nsh has to be loaded explicitly Thread-Index: AQHVaTbou7EgrEzjNEOWi4n34v+xeKc0INig Date: Fri, 20 Sep 2019 06:07:21 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB24A23@SHSMSX101.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: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNmU0NmUxMDgtMzMyNC00ZWRjLThlMzgtM2RkODU3Zjc0YWIyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMVBXUzZNa1Bnbnd5bmc0dVAzVDNyR3dlbEpPeUN6STBWRXhhKzg5NURJSytXWnU2aEkzS0p2NUt0RzBGVGtUTCJ9 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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xinfeng Zhao > 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 >=20 > Signed-off-by: Xinfeng Zhao > --- > tests/TestSuite_uni_pkt.py | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py inde= x > 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_packets[packet], self.tester_iface)) > self.tester.scapy_execute() > out =3D self.dut.get_session_output(timeout=3D2) > -- > 2.17.1