test suite reviews and discussions
 help / color / mirror / 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

end of thread, other threads:[~2020-03-20  8:06 UTC | newest]

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

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).