test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/TestSuite_efd:fix wrong sed command
@ 2020-08-07 16:58 lingwei
  2020-08-12  8:38 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: lingwei @ 2020-08-07 16:58 UTC (permalink / raw)
  To: dts; +Cc: lingwei

fix wrong sed command, it miss '/' dut to replace failed

Signed-off-by: lingwei <weix.ling@intel.com>
---
 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-12  8:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-07 16:58 [dts] [PATCH V1] tests/TestSuite_efd:fix wrong sed command lingwei
2020-08-12  8:38 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).