This test case tests the ability of ClamAV to scan files for various viruses and malwares.
How to test
- Edit freshclam configuration file:
sed -i 's/Example/#Example/' /etc/freshclam.conf
- Update viruses definitions/signatures:
- Download EICAR test file or other files with viruses/malwares:
curl -O http://www.eicar.org/download/eicar.com
- Scan for viruses:
- ClamAV should report at least one infected file found.