[dts] [PATCH V1] framework/crb: fix issue of rm file

Chen, BoX C box.c.chen at intel.com
Mon Mar 16 06:11:59 CET 2020


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


Regards,
Chen Bo

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of lihong
> Sent: March 16, 2020 5:36
> To: dts at dpdk.org
> Cc: Ma, LihongX <lihongx.ma at intel.com>
> Subject: [dts] [PATCH V1] framework/crb: fix issue of rm file
> 
> Signed-off-by: lihong <lihongx.ma at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestUnitTestsLoopback.log
Type: application/octet-stream
Size: 41762 bytes
Desc: TestUnitTestsLoopback.log
URL: <http://mails.dpdk.org/archives/dts/attachments/20200316/1363d0a4/attachment.obj>


More information about the dts mailing list