aboutsummaryrefslogtreecommitdiff
path: root/tests/atf_python/sys
diff options
context:
space:
mode:
Diffstat (limited to 'tests/atf_python/sys')
-rw-r--r--tests/atf_python/sys/net/vnet.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/atf_python/sys/net/vnet.py b/tests/atf_python/sys/net/vnet.py
index c58ae28d5ca9..bfe7984b440b 100644
--- a/tests/atf_python/sys/net/vnet.py
+++ b/tests/atf_python/sys/net/vnet.py
@@ -19,7 +19,8 @@ from atf_python.utils import libc
def run_cmd(cmd: str, verbose=True) -> str:
- print("run: '{}'".format(cmd))
+ if verbose:
+ print("run: '{}'".format(cmd))
return os.popen(cmd).read()