From Fedora Project Wiki
(Created page with '{{QA/Test_Case |description=This test case tests the ability of ClamAV to scan a host for various viruses and malwares. |setup= # Ensure the {{package|clamav}}, {{package|clamav-...')
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case tests the ability of ClamAV to scan a host for various viruses and malwares.
|description=This test case tests the ability of ClamAV to scan files for various viruses and malwares.
|setup=
|setup=
# 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: '''freshclam'''
# Update viruses definitions/signatures: {{command|freshclam}}
# Download EICAR test file or other files with viruses/malwares: '''curl -O http://www.eicar.org/download/eicar.com'''
# Download EICAR test file or other files with viruses/malwares: {{command|curl -O http://www.eicar.org/download/eicar.com}}
# Scan for viruses: ''' clamscan eicar.com'''
# 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

  1. Ensure the clamav, clamav-update packages are installed.

How to test

  1. Update viruses definitions/signatures: freshclam
  2. Download EICAR test file or other files with viruses/malwares: curl -O http://www.eicar.org/download/eicar.com
  3. Scan for viruses: clamscan eicar.com

Expected Results

  1. ClamAV should report at least one infected file found.