From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
# Ensure the {{package|clamav}}, {{package|clamav-update}} packages are installed. | # Ensure the {{package|clamav}}, {{package|clamav-update}} packages are installed. | ||
|actions= | |actions= | ||
# Update viruses definitions/signatures: | # Update viruses definitions/signatures: {{command|freshclam}} | ||
# Download EICAR test file or other files with viruses/malwares: | # Download EICAR test file or other files with viruses/malwares: {{command|curl -O http://www.eicar.org/download/eicar.com}} | ||
# Scan for viruses: | # Scan for viruses: {{command| clamscan eicar.com}} | ||
|results= | |results= | ||
# ClamAV should report at least one infected file found. | # ClamAV should report at least one infected file found. | ||
}} | }} |
Latest revision as of 22:28, 28 May 2011
Description
This test case tests the ability of ClamAV to scan files for various viruses and malwares.
Setup
- Ensure the
clamav
,clamav-update
packages are installed.
How to test
- Update viruses definitions/signatures:
freshclam
- Download 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.