From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EC13DA0559; Mon, 16 Mar 2020 06:05:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BA99E2BF9; Mon, 16 Mar 2020 06:05:30 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 460CBFEB for ; Mon, 16 Mar 2020 06:05:28 +0100 (CET) IronPort-SDR: D3RAgQpP7moCbIAdfZjVBjcrYy4UZFjKKn5/fnFvKpU5fzdjWZErqHqG6HLuUkuApjnmamnSy5 5Q/0MtdLK8ew== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2020 22:05:27 -0700 IronPort-SDR: tzl6rP9fACj/EmLXsVMbI7WsaiycfhkdfKg8JzWm45oidkuGTSVixoRrpWGmSMoZso6Ql/Tlug qIDQu4gGi8SQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,559,1574150400"; d="scan'208";a="247345022" Received: from dpdk-lihong-ub1604.sh.intel.com ([10.67.118.203]) by orsmga006.jf.intel.com with ESMTP; 15 Mar 2020 22:05:25 -0700 From: lihong To: dts@dpdk.org Cc: lihong Date: Mon, 16 Mar 2020 05:36:29 +0800 Message-Id: <1584308189-7809-1-git-send-email-lihongx.ma@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dts] [PATCH V1] framework/crb: fix issue of rm file X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" 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