summaryrefslogtreecommitdiffstats
path: root/lib/oeqa
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>
* oeqa: Add a very basic firejail testArmin Kuster2022-06-231-0/+18
| | | | | | | | | | | Currently check if --help works. RESULTS: RESULTS - ping.PingTest.test_ping: PASSED (0.07s) RESULTS - ssh.SSHTest.test_ssh: PASSED (2.41s) RESULTS - firejail.FirejailTest.test_firejail_basic: PASSED (1.30s) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* oeqa: add aide testArmin Kuster2022-06-231-0/+26
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* oeqa: update smack runtime testArmin Kuster2022-06-231-88/+15
| | | | | | drop test_smack_mmap_enforced as is was skipped do to possible licensing issues Signed-off-by: Armin Kuster <akuster808@gmail.com>
* oeqa: sssd.py fix testsArmin Kuster2022-06-181-2/+2
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* oeqa: fix checksec runtime testArmin Kuster2022-06-181-1/+1
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* oeqa/smack: consolidate classesArmin Kuster2022-06-071-39/+0
| | | | 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>
* lib/oeqa/runtime: suricata add testsArmin Kuster2019-12-161-7/+56
| | | | | | | drop the unit test as it should be run via ptest add more tests for python3-suricata-update Signed-off-by: Armin Kuster <akuster808@gmail.com>
* checksec: add missing rdepends to readelfArmin Kuster2019-10-141-0/+1
| | | | | | update test to check for depends 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>
* checksec: add runtime testArmin Kuster2019-05-211-0/+33
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* oe-selftest: add running cve checkerArmin Kuster2019-05-121-0/+27
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* samhain: add more tests and fix ret checksArmin Kuster2019-05-091-4/+27
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* smack-test: add smack tests from meta-intel-iot-securityArmin Kuster2019-05-091-0/+529
| | | | | | ported over smack tests Signed-off-by: Armin Kuster <akuster808@gmail.com>
* apparmor: add a few more runtimeArmin Kuster2019-05-091-0/+19
| | | | 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>
* apparmor: add basic runtime testArmin Kuster2019-03-311-0/+27
| | | | 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>
* samhain: add basic runtime testArmin Kuster2019-03-311-0/+20
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* suricata: add runtime testingArmin Kuster2019-03-311-0/+27
| | | | | | | | | | Today there are no failures so set the trigger to zero. [v2] fix match string and conditional Signed-off-by: Armin Kuster <akuster808@gmail.com>
* tripwire: add runtime testArmin Kuster2019-03-311-0/+47
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* sssd: Add basic runtime testArmin Kuster2019-03-291-0/+37
This does some basic testing and checks. Signed-off-by: Armin Kuster <akuster808@gmail.com>