test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] framework/crb: fix issue of rm file
@ 2020-03-15 21:36 lihong
  2020-03-16  5:11 ` Chen, BoX C
  2020-03-20  8:06 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: lihong @ 2020-03-15 21:36 UTC (permalink / raw)
  To: dts; +Cc: lihong

Signed-off-by: lihong <lihongx.ma@intel.com>
---
 framework/crb.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/crb.py b/framework/crb.py
index 538aa6c..cf0493f 100644
--- a/framework/crb.py
+++ b/framework/crb.py
@@ -530,7 +530,7 @@ class Crb(object):
         # delete hugepage on mnt path
         if getattr(self, 'hugepage_path', None):
             for file_prefix in prefix_list:
-                cmd = 'rm %s/%s*' % (self.hugepage_path, file_prefix)
+                cmd = 'rm -rf %s/%s*' % (self.hugepage_path, file_prefix)
                 self.send_expect(cmd, '# ', 20, alt_session)
 
     def kill_all(self, alt_session=True):
-- 
2.7.4


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

* Re: [dts] [PATCH V1] framework/crb: fix issue of rm file
  2020-03-15 21:36 [dts] [PATCH V1] framework/crb: fix issue of rm file lihong
@ 2020-03-16  5:11 ` Chen, BoX C
  2020-03-20  8:06 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Chen, BoX C @ 2020-03-16  5:11 UTC (permalink / raw)
  To: Ma, LihongX, dts; +Cc: Ma, LihongX

[-- Attachment #1: Type: text/plain, Size: 1074 bytes --]

Tested-by:  Chen, BoX C <box.c.chen@intel.com>


Regards,
Chen Bo

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lihong
> Sent: March 16, 2020 5:36
> To: dts@dpdk.org
> Cc: Ma, LihongX <lihongx.ma@intel.com>
> Subject: [dts] [PATCH V1] framework/crb: fix issue of rm file
> 
> Signed-off-by: lihong <lihongx.ma@intel.com>
> ---
>  framework/crb.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/framework/crb.py b/framework/crb.py index 538aa6c..cf0493f
> 100644
> --- a/framework/crb.py
> +++ b/framework/crb.py
> @@ -530,7 +530,7 @@ class Crb(object):
>          # delete hugepage on mnt path
>          if getattr(self, 'hugepage_path', None):
>              for file_prefix in prefix_list:
> -                cmd = 'rm %s/%s*' % (self.hugepage_path, file_prefix)
> +                cmd = 'rm -rf %s/%s*' % (self.hugepage_path,
> + file_prefix)
>                  self.send_expect(cmd, '# ', 20, alt_session)
> 
>      def kill_all(self, alt_session=True):
> --
> 2.7.4


[-- Attachment #2: TestUnitTestsLoopback.log --]
[-- Type: application/octet-stream, Size: 41762 bytes --]

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

* Re: [dts] [PATCH V1] framework/crb: fix issue of rm file
  2020-03-15 21:36 [dts] [PATCH V1] framework/crb: fix issue of rm file lihong
  2020-03-16  5:11 ` Chen, BoX C
@ 2020-03-20  8:06 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-03-20  8:06 UTC (permalink / raw)
  To: Ma, LihongX, dts; +Cc: Ma, LihongX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lihong
> Sent: Monday, March 16, 2020 5:36 AM
> To: dts@dpdk.org
> Cc: Ma, LihongX <lihongx.ma@intel.com>
> Subject: [dts] [PATCH V1] framework/crb: fix issue of rm file
> 
> Signed-off-by: lihong <lihongx.ma@intel.com>
> ---
>  framework/crb.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/framework/crb.py b/framework/crb.py index 538aa6c..cf0493f
> 100644
> --- a/framework/crb.py
> +++ b/framework/crb.py
> @@ -530,7 +530,7 @@ class Crb(object):
>          # delete hugepage on mnt path
>          if getattr(self, 'hugepage_path', None):
>              for file_prefix in prefix_list:
> -                cmd = 'rm %s/%s*' % (self.hugepage_path, file_prefix)
> +                cmd = 'rm -rf %s/%s*' % (self.hugepage_path,
> + file_prefix)
>                  self.send_expect(cmd, '# ', 20, alt_session)
> 
>      def kill_all(self, alt_session=True):
> --
> 2.7.4


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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-15 21:36 [dts] [PATCH V1] framework/crb: fix issue of rm file lihong
2020-03-16  5:11 ` Chen, BoX C
2020-03-20  8:06 ` 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