Tested-by: Chen, BoX C 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 > Subject: [dts] [PATCH V1] framework/crb: fix issue of rm file > > Signed-off-by: lihong > --- > 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