mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-25 23:06:15 +00:00
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>
This commit is contained in:
parent
97a8974442
commit
e6163467a3
1 changed files with 2 additions and 0 deletions
|
@ -96,6 +96,8 @@ def test_net_pre_commands(u_boot_console):
|
||||||
if init_pci:
|
if init_pci:
|
||||||
u_boot_console.run_command('pci enum')
|
u_boot_console.run_command('pci enum')
|
||||||
|
|
||||||
|
u_boot_console.run_command('net list')
|
||||||
|
|
||||||
@pytest.mark.buildconfigspec('cmd_dhcp')
|
@pytest.mark.buildconfigspec('cmd_dhcp')
|
||||||
def test_net_dhcp(u_boot_console):
|
def test_net_dhcp(u_boot_console):
|
||||||
"""Test the dhcp command.
|
"""Test the dhcp command.
|
||||||
|
|
Loading…
Add table
Reference in a new issue