From Fedora Project Wiki
Description
This test case tests the ability of ClamAV to scan files for various viruses and malwares.
Setup
- Ensure the
,
clamavpackages are installed.
clamav-update
How to test
- Edit freshclam configuration file:
sed -i 's/^Example/#Example/' /etc/freshclam.conf - Update viruses definitions/signatures:
freshclam - Download the EICAR test file or other files with viruses/malwares:
curl -O http://www.eicar.org/download/eicar.com - Scan for viruses:
clamscan eicar.com
Expected Results
- ClamAV should report at least one infected file found.
