From: lihong <lihongx.ma@intel.com>
To: dts@dpdk.org
Cc: lihong <lihongx.ma@intel.com>
Subject: [dts] [PATCH V1] framework/crb: fix issue of rm file
Date: Mon, 16 Mar 2020 05:36:29 +0800 [thread overview]
Message-ID: <1584308189-7809-1-git-send-email-lihongx.ma@intel.com> (raw)
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
next reply other threads:[~2020-03-16 5:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-15 21:36 lihong [this message]
2020-03-16 5:11 ` Chen, BoX C
2020-03-20 8:06 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1584308189-7809-1-git-send-email-lihongx.ma@intel.com \
--to=lihongx.ma@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).