From Fedora Project Wiki

Revision as of 09:30, 30 January 2020 by Cor (talk | contribs) (Minor fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This test case tests the ability of ClamAV to scan files for various viruses and malwares.


  1. Ensure the Package-x-generic-16.pngclamav, Package-x-generic-16.pngclamav-update packages are installed.

How to test

  1. Edit freshclam configuration file: sed -i 's/^Example/#Example/' /etc/freshclam.conf
  2. Update viruses definitions/signatures: freshclam
  3. Download the EICAR test file or other files with viruses/malwares: curl -O
  4. Scan for viruses: clamscan

Expected Results

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