8 Commits

Author SHA1 Message Date
Mikko Rapeli
1851ec38b7 oeqa runtime clamav.py: use curl if ping fails
TEST_RUNQEMUPARAMS = "slirp" does not pass ping through
but UDP and TCP will work. Thus curl the http website
even if the response is DoS blocker and not the real
website.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2024-12-27 11:28:23 -05:00
Mikko Rapeli
08c712d672 oeqa runtime clamav.py: skip test_freshclam_download with systemd
systemd service files already start a download at boot which locks
the files and thus the test fails. Instead of this test, with systemd
it is sufficient to check that all systemd services succeeded.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2024-12-27 11:28:23 -05:00
Armin Kuster
fccbe155be oeqa/clamav drop depricated --list-mirror test
Fix download test

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-06-23 18:47:59 -07:00
Armin Kuster
6400eba66a lib/oeqa/runtime: fix clamav test order
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-01-03 11:54:14 -08:00
Armin Kuster
c44f8f3cb2 runtime: clamav test cleanup
mirror test is independant of download

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-06-26 15:47:47 -07:00
Armin Kuster
3b88d3d9ca clamav: runtime fix local routing
This addes the localhost to resolve.conf to fix:

ERROR: Can't get information about database.clamav.net: Temporary failure in name resolution
ERROR: Can't download main.cvd from database.clamav.net
Giving up on database.clamav.net...

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-04-13 10:31:20 -07:00
Armin Kuster
109b8260bf clamav runtime: add resolve.conf support
and ping test too

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-04-13 10:31:11 -07:00
Armin Kuster
00f00d2897 clamav: add basic runtime tests
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-31 10:37:09 -07:00