diff --git a/lisa/tools/__init__.py b/lisa/tools/__init__.py index 9dbf9f8b8..5397f563e 100644 --- a/lisa/tools/__init__.py +++ b/lisa/tools/__init__.py @@ -1,3 +1,4 @@ +from .cat import Cat from .echo import Echo from .gcc import Gcc from .git import Git @@ -6,4 +7,4 @@ from .make import Make from .ntttcp import Ntttcp from .uname import Uname -__all__ = ["Echo", "Gcc", "Git", "Lscpu", "Make", "Ntttcp", "Uname"] +__all__ = ["Cat", "Echo", "Gcc", "Git", "Lscpu", "Make", "Ntttcp", "Uname"] diff --git a/lisa/tools/cat.py b/lisa/tools/cat.py new file mode 100644 index 000000000..89d220612 --- /dev/null +++ b/lisa/tools/cat.py @@ -0,0 +1,10 @@ +from lisa.executable import Tool + + +class Cat(Tool): + @property + def command(self) -> str: + return "cat" + + def _check_exists(self) -> bool: + return True