summaryrefslogtreecommitdiffstats
path: root/lib/oeqa/runtime/cases/clamav.py
Commit message (Collapse)AuthorAgeFilesLines
* oeqa runtime clamav.py: use curl if ping failsMikko Rapeli2024-12-271-1/+1
| | | | | | | | | | 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>
* oeqa runtime clamav.py: skip test_freshclam_download with systemdMikko Rapeli2024-12-271-0/+2
| | | | | | | | | 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>
* oeqa/clamav drop depricated --list-mirror testArmin Kuster2022-06-231-17/+4
| | | | | | Fix download test Signed-off-by: Armin Kuster <akuster808@gmail.com>
* lib/oeqa/runtime: fix clamav test orderArmin Kuster2020-01-031-9/+9
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* runtime: clamav test cleanupArmin Kuster2019-06-261-1/+1
| | | | | | mirror test is independant of download Signed-off-by: Armin Kuster <akuster808@gmail.com>
* clamav: runtime fix local routingArmin Kuster2019-04-131-0/+2
| | | | | | | | | | 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>
* clamav runtime: add resolve.conf supportArmin Kuster2019-04-131-0/+28
| | | | | | and ping test too Signed-off-by: Armin Kuster <akuster808@gmail.com>
* clamav: add basic runtime testsArmin Kuster2019-03-311-0/+38
Signed-off-by: Armin Kuster <akuster808@gmail.com>