[V1] framework/crb: fix _is_container error

Message ID 20230110023157.71223-1-linglix.chen@intel.com (mailing list archive)
State Superseded
Headers
Series [V1] framework/crb: fix _is_container error |

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

Lingli Chen Jan. 10, 2023, 2:31 a.m. UTC
  Fix issue adapts to FreeBSD system.
fix dts commit 0ef9bfbf (framework: add docker container support)

Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
 framework/crb.py | 5 -----
 1 file changed, 5 deletions(-)
  

Patch

diff --git a/framework/crb.py b/framework/crb.py
index 48526ac1..dd915f21 100644
--- a/framework/crb.py
+++ b/framework/crb.py
@@ -1054,10 +1054,5 @@  class Crb(object):
             return True
         elif self.send_expect("df -h / |grep overlay ", "# "):
             return True
-        elif self.send_expect(
-            "systemd-detect-virt -c|egrep '(systemd-nspawn|lxc|docker|podman|rkt|wsl|container-other)$' ",
-            "# ",
-        ):
-            return True
         else:
             return False