From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 91F13A034C; Thu, 22 Dec 2022 07:59:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 88EDC40698; Thu, 22 Dec 2022 07:59:08 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 06285400D7 for ; Thu, 22 Dec 2022 07:59:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671692347; x=1703228347; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=lVOf2zzZbzwa8iE9SyGSEP5jxho92DmQHldm/LwBXOo=; b=cJrP1uk1E22+/mO241g2p2XIaRGEtlMOsDlFqVuvnVv5iCVMEHZGDKfW vVaTIaYELQkRelDJg6NvR6N2+1puUPOhA6jPGCTIVhxUjRCw4iKrjtc/l r4xChJ0egm62faLRk2PAgj4UvwbDwvHQRZ7RFoEZ+FNpRs3wCbNBMAJFT bP8z1MhRMlnYzflJKXYfxRqKb2YL03PuAyooLNKoWvQZ5eBxE6dfILvZy CwKvTMZJWopxBV0AcvLSqB4sx0yTfyYzN91GSqCVaPQyTOZUUGLzXdht6 HijpWB9eeCdjOC/Bt5xT5PHiTx0wE+vChG8WLl3oK/yANN48F+WSbQXHI A==; X-IronPort-AV: E=McAfee;i="6500,9779,10568"; a="299731326" X-IronPort-AV: E=Sophos;i="5.96,264,1665471600"; d="scan'208";a="299731326" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2022 22:59:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10568"; a="740439222" X-IronPort-AV: E=Sophos;i="5.96,264,1665471600"; d="scan'208";a="740439222" Received: from dpdk-lijuan-1.sh.intel.com ([10.67.119.225]) by FMSMGA003.fm.intel.com with ESMTP; 21 Dec 2022 22:59:05 -0800 From: Lijuan Tu To: dts@dpdk.org Cc: Lijuan Tu Subject: [PATCH] framework: fix umount ahead of mount Date: Thu, 22 Dec 2022 14:47:00 +0800 Message-Id: <20221222064700.1015723-1-lijuan.tu@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 umount will impact other applications, it is not a good idea, so remove it. Signed-off-by: Lijuan Tu --- framework/crb.py | 1 - 1 file changed, 1 deletion(-) diff --git a/framework/crb.py b/framework/crb.py index bd16004a..3c93fdc4 100644 --- a/framework/crb.py +++ b/framework/crb.py @@ -205,7 +205,6 @@ class Crb(object): """ Mount hugepage file system on CRB. """ - self.send_expect("umount `awk '/hugetlbfs/ { print $2 }' /proc/mounts`", "# ") out = self.send_expect("awk '/hugetlbfs/ { print $2 }' /proc/mounts", "# ") # if no hugetlbfs mounted, then above command will return " [PEXPECT]#" # so strip the unexptectd " [PEXPECT]#", to proceed to mount the hugetlbfs -- 2.25.1