]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa ping.py: fail test if target IP address has not been set
authorMikko Rapeli <mikko.rapeli@linaro.org>
Wed, 5 Apr 2023 09:08:48 +0000 (12:08 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Apr 2023 13:31:37 +0000 (14:31 +0100)
commit17c995c53775b8cee279ca4ced916092067e1195
treec89b94a20b46a4c2fd1acbef3d0b0c7bbd3d5793
parent87ec75710b5cd7b3f35d886003844d62d3182b54
oeqa ping.py: fail test if target IP address has not been set

It is possible to call exported tests with --target-ip set to ":22"
where IP address is not set at all. Detect this case and fail the test
instead of calling ping without an IP address.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/ping.py