summaryrefslogtreecommitdiff
path: root/test/py/tests/test_net.py
diff options
context:
space:
mode:
authorMaxim Uvarov <maxim.uvarov@linaro.org>2023-12-26 21:46:12 +0600
committerTom Rini <trini@konsulko.com>2024-01-11 11:24:58 -0500
commite6163467a34b8a77da55202fd3cf079947f93841 (patch)
treee3c66f84fbaaa2ace5b424580ac54a573635b254 /test/py/tests/test_net.py
parent97a897444235921ce19b4f8a3b27de6f5a9ab367 (diff)
test_net: print out net list
Printing net list is useful in CI log files. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/tests/test_net.py')
-rw-r--r--test/py/tests/test_net.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/py/tests/test_net.py b/test/py/tests/test_net.py
index b2241ae6a48..cd5b791a6aa 100644
--- a/test/py/tests/test_net.py
+++ b/test/py/tests/test_net.py
@@ -96,6 +96,8 @@ def test_net_pre_commands(u_boot_console):
if init_pci:
u_boot_console.run_command('pci enum')
+ u_boot_console.run_command('net list')
+
@pytest.mark.buildconfigspec('cmd_dhcp')
def test_net_dhcp(u_boot_console):
"""Test the dhcp command.