From Fedora Project Wiki

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.