check
package.
If your OS doesn't have that package, you can download it from http://check.sourceforge.net/,
build it and install it.
check
, it is recommended that you install pkg-config
, preferably
using your OS's package manager, or from http://pkg-config.freedesktop.org.
$ ./configure --enable-check $ make $ make checkWhen
make check
is finished, you should get a message similar to this:
================== All 8 tests passed ==================If a unit test fails, you get a message similar to the following. Note that in older versions of make check may report failures due to the absence of optional packages. Please make sure you have the latest versions of the components noted in section /refsec:components. See the next section on how to report a bug when a unit test fails.
======================================== 1 of 8 tests failed Please report to http://bugs.clamav.net/ ========================================If unit tests are disabled (and you didn't use -enable-check), you will get this message:
*** Unit tests disabled in this build *** Use ./configure --enable-check to enable them SKIP: check_clamav PASS: check_clamd.sh PASS: check_freshclam.sh PASS: check_sigtool.sh PASS: check_clamscan.sh ====================== All 4 tests passed (1 tests were not run) ======================Running
./configure --enable-check
should tell you why.
Cisco 2016-04-21