]> 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)
committerSteve Sakoman <steve@sakoman.com>
Mon, 24 Apr 2023 14:22:14 +0000 (04:22 -1000)
commitb14b8f38da9195852e9a2fd6b2e446ed8a1fa0b8
tree1dc9b31a1f7538d3189a865470e748aa83de492c
parent5e5975b199e161936471824aabc43da5097219fa
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>
(cherry picked from commit 17c995c53775b8cee279ca4ced916092067e1195)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/runtime/cases/ping.py