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 8F2C9A04C7; Wed, 16 Sep 2020 09:53:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 78B461C1DC; Wed, 16 Sep 2020 09:53:40 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 454621C1BA for ; Wed, 16 Sep 2020 09:53:39 +0200 (CEST) IronPort-SDR: Cxg5W9EPv72YvDZAYB7B36InBPZhOxloKwwyzhmmUjK4A+22RC6PsI1mDEU+C16616RVupscVT 7MIwUq5h+Umg== X-IronPort-AV: E=McAfee;i="6000,8403,9745"; a="177492973" X-IronPort-AV: E=Sophos;i="5.76,432,1592895600"; d="scan'208";a="177492973" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2020 00:53:38 -0700 IronPort-SDR: z/TUq7PUBoYyrPw6yyPEqbbAB3hdQck+tvSVqh7WylOkEXyhBWUTbz7P0T53JF66Aj/tg2kXeJ YYtetN6NRNUw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,432,1592895600"; d="scan'208";a="319752141" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga002.jf.intel.com with ESMTP; 16 Sep 2020 00:53:38 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 16 Sep 2020 00:53:36 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX603.ccr.corp.intel.com (10.109.6.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 16 Sep 2020 15:53:34 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.1713.004; Wed, 16 Sep 2020 15:53:34 +0800 From: "Tu, Lijuan" To: "Ling, WeiX" , "dts@dpdk.org" CC: "Ling, WeiX" Thread-Topic: [dts] [PATCH V1] tests/TestSuite_hotplug:fix use incorrect path to start app issue Thread-Index: AQHWi/CTAVv2BRA/Rk+hrRKPEbUrQalq5QyQ Date: Wed, 16 Sep 2020 07:53:34 +0000 Message-ID: <308689b5435f4d7d892ab3cbdf39aacb@intel.com> References: <20200916141044.38642-1-weix.ling@intel.com> In-Reply-To: <20200916141044.38642-1-weix.ling@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/TestSuite_hotplug:fix use incorrect path to start app issue 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 > -----Original Message----- > From: dts On Behalf Of lingwei > Sent: 2020=1B$BG/=1B(B9=1B$B7n=1B(B16=1B$BF|=1B(B 22:11 > To: dts@dpdk.org > Cc: Ling, WeiX > Subject: [dts] [PATCH V1] tests/TestSuite_hotplug:fix use incorrect path = to start > app issue >=20 > fix use incorrect path to start app issue >=20 > Signed-off-by: lingwei > --- > tests/TestSuite_hotplug.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_hotplug.py b/tests/TestSuite_hotplug.py inde= x > 1882c84..22df230 100644 > --- a/tests/TestSuite_hotplug.py > +++ b/tests/TestSuite_hotplug.py > @@ -177,7 +177,7 @@ class TestPortHotPlug(TestCase): >=20 > self.session2 =3D self.dut.create_session(name=3D"virtio_user") > eal_param =3D self.dut.create_eal_parameters(no_pci=3DTrue, > fixed_prefix=3D"virtio1", cores=3Dcores[5:9]) > - testpmd_cmd2 =3D "%s " % (self.path) + eal_param + ' -- -i' > + testpmd_cmd2 =3D "%s/%s " % (self.dut.base_dir, self.path) + eal= _param + ' - > - -i' > self.session2.send_expect(testpmd_cmd2, "testpmd>", timeout=3D60= ) > self.session2.send_expect( > "port attach > net_virtio_user1,mac=3D00:01:02:03:04:05,path=3D%s,queues=3D1,packed_vq= =3D1,mrg_ > rxbuf=3D1,in_order=3D0" % path, > -- > 2.17.1