framework: fix umount ahead of mount
Checks
Context |
Check |
Description |
ci/Intel-dts-format-test |
success
|
Testing OK
|
ci/Intel-dts-pylama-test |
success
|
Testing OK
|
ci/Intel-dts-suite-test |
success
|
Testing OK
|
Commit Message
umount will impact other applications, it is not a good idea,
so remove it.
Signed-off-by: Lijuan Tu <lijuan.tu@intel.com>
---
framework/crb.py | 1 -
1 file changed, 1 deletion(-)
Comments
On Thu, 22 Dec 2022 14:47:00 +0800, Lijuan Tu <lijuan.tu@intel.com> wrote:
> umount will impact other applications, it is not a good idea,
> so remove it.
>
> Signed-off-by: Lijuan Tu <lijuan.tu@intel.com>
Applied, thanks
@@ -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