From patchwork Wed Sep 16 14:10:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 77864 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AFFEEA04C7; Wed, 16 Sep 2020 08:13:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 743511C1B2; Wed, 16 Sep 2020 08:13:43 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 804281C1A2 for ; Wed, 16 Sep 2020 08:13:42 +0200 (CEST) IronPort-SDR: ueloEWQ5L7bOpH2pVjE5WwHccPwUzy6zzxr+TNMtxqLgiqyHw6wxWM5TYg+zeZvV80ZU/+3AQf WH7Z9kO+1IoA== X-IronPort-AV: E=McAfee;i="6000,8403,9745"; a="138909834" X-IronPort-AV: E=Sophos;i="5.76,431,1592895600"; d="scan'208";a="138909834" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2020 23:13:41 -0700 IronPort-SDR: sZncJLwz6BxRIIw6qHs/KznG2FJm4eyDbZawD4wC1P0NQ6iIWpyi2r6xQP/trI1BdTjr7MJxPG Rkz2My3qmYDw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,431,1592895600"; d="scan'208";a="409435025" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga001.fm.intel.com with ESMTP; 15 Sep 2020 23:13:39 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Wed, 16 Sep 2020 14:10:44 +0000 Message-Id: <20200916141044.38642-1-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [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" fix use incorrect path to start app issue Signed-off-by: lingwei Tested-by: Ling, Wei Signed-off-by: lingwei --- tests/TestSuite_hotplug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_hotplug.py b/tests/TestSuite_hotplug.py index 1882c84..22df230 100644 --- a/tests/TestSuite_hotplug.py +++ b/tests/TestSuite_hotplug.py @@ -177,7 +177,7 @@ class TestPortHotPlug(TestCase): self.session2 = self.dut.create_session(name="virtio_user") eal_param = self.dut.create_eal_parameters(no_pci=True, fixed_prefix="virtio1", cores=cores[5:9]) - testpmd_cmd2 = "%s " % (self.path) + eal_param + ' -- -i' + testpmd_cmd2 = "%s/%s " % (self.dut.base_dir, self.path) + eal_param + ' -- -i' self.session2.send_expect(testpmd_cmd2, "testpmd>", timeout=60) self.session2.send_expect( "port attach net_virtio_user1,mac=00:01:02:03:04:05,path=%s,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=0" % path,