efi_loader: skip warnings for network configuration
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 13 Jul 2020 10:22:23 +0000 (12:22 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 16 Jul 2020 10:37:02 +0000 (12:37 +0200)
commitf49ca85fdf8158dc34118f9ec209f752f247e4e4
tree58ca16fc3e7fd2ee20defa41b2e38ca5210fc396
parentec5f0ed33f53571fc55a55b0d0cd1c5745dbe885
efi_loader: skip warnings for network configuration

Skip messages should only be written if the setup is not suitable for
testing.

If DHCP is enabled, we should not write a skip message if no static network
configuration is supplied.

Likewise if a static network configuration is supplied, we should not write
a skip message if DHCP is not enabled.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
test/py/tests/test_efi_loader.py