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 3B20BA04B0; Fri, 7 Aug 2020 11:02:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E80052BF1; Fri, 7 Aug 2020 11:02:18 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 106C62B87 for ; Fri, 7 Aug 2020 11:02:17 +0200 (CEST) IronPort-SDR: Ne1YqXMbKi9C2vYkUMRSoLqDqbt+f2HooFIGS1LcGflHsDlY+yh1or4BSqRoJTgvxygXoJ/+h8 q6QSs7ytyY+A== X-IronPort-AV: E=McAfee;i="6000,8403,9705"; a="133107428" X-IronPort-AV: E=Sophos;i="5.75,445,1589266800"; d="scan'208";a="133107428" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Aug 2020 02:02:17 -0700 IronPort-SDR: y0wuONNPXyxaZODdYQBJ6u8L6A34YmL9/gxLkfLvJxtCskKHEVPgPTGmS111A2kIkm/wodhdAk ftsbrXu0ITqg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,445,1589266800"; d="scan'208";a="325690531" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga002.fm.intel.com with ESMTP; 07 Aug 2020 02:02:15 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Fri, 7 Aug 2020 16:58:31 +0000 Message-Id: <20200807165831.74128-1-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/TestSuite_efd:fix wrong sed command 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 wrong sed command, it miss '/' dut to replace failed Signed-off-by: lingwei --- tests/TestSuite_efd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_efd.py b/tests/TestSuite_efd.py index ddd41f4..007e03b 100644 --- a/tests/TestSuite_efd.py +++ b/tests/TestSuite_efd.py @@ -164,7 +164,7 @@ class TestEFD(TestCase): self.result_table_add([val_bitnum, 2, "2M", pps]) self.result_table_print() - self.dut.send_expect("sed -i -e 's/#define RTE_EFD_VALUE_NUM_BITS .*$/#define RTE_EFD_VALUE_NUM_BITS (8)' lib/librte_efd/rte_efd.h", "#") + self.dut.send_expect("sed -i -e 's/#define RTE_EFD_VALUE_NUM_BITS .*$/#define RTE_EFD_VALUE_NUM_BITS (8)/' lib/librte_efd/rte_efd.h", "#") self.dut.build_install_dpdk(self.target) out = self.dut.build_dpdk_apps("./examples/server_node_efd") self.verify("Error" not in out, "Compilation error") -- 2.17.1