test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] framework/alais gsed to sed for freebsd
@ 2019-08-05  7:19 changqingxwu
  2019-08-06  8:49 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: changqingxwu @ 2019-08-05  7:19 UTC (permalink / raw)
  To: dts; +Cc: changqingxwu

sed command on linux not work for freebsd,
need use gsed replace sed to achieve the same function on freebsd

Signed-off-by: changqingxwu <changqingx.wu@intel.com>
---
 framework/dut.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/framework/dut.py b/framework/dut.py
index fc346e8..20891ab 100644
--- a/framework/dut.py
+++ b/framework/dut.py
@@ -196,6 +196,7 @@ class Dut(Crb):
 
         if self.get_os_type() == 'freebsd':
             self.send_expect('alias make=gmake', '# ')
+            self.send_expect('alias sed=gsed', '# ')
 
         self.init_core_list()
         self.pci_devices_information()
-- 
2.17.2


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

* Re: [dts] [PATCH V1] framework/alais gsed to sed for freebsd
  2019-08-05  7:19 [dts] [PATCH V1] framework/alais gsed to sed for freebsd changqingxwu
@ 2019-08-06  8:49 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-08-06  8:49 UTC (permalink / raw)
  To: Wu, ChangqingX, dts; +Cc: Wu, ChangqingX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of changqingxwu
> Sent: Monday, August 5, 2019 3:19 PM
> To: dts@dpdk.org
> Cc: Wu, ChangqingX <changqingx.wu@intel.com>
> Subject: [dts] [PATCH V1] framework/alais gsed to sed for freebsd
> 
> sed command on linux not work for freebsd, need use gsed replace sed to
> achieve the same function on freebsd
> 
> Signed-off-by: changqingxwu <changqingx.wu@intel.com>
> ---
>  framework/dut.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/framework/dut.py b/framework/dut.py index fc346e8..20891ab
> 100644
> --- a/framework/dut.py
> +++ b/framework/dut.py
> @@ -196,6 +196,7 @@ class Dut(Crb):
> 
>          if self.get_os_type() == 'freebsd':
>              self.send_expect('alias make=gmake', '# ')
> +            self.send_expect('alias sed=gsed', '# ')
> 
>          self.init_core_list()
>          self.pci_devices_information()
> --
> 2.17.2


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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-05  7:19 [dts] [PATCH V1] framework/alais gsed to sed for freebsd changqingxwu
2019-08-06  8:49 ` Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox