[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

Török Edvin edwin at clamav.net
Sun Apr 4 01:09:06 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 3e95bd7268cc09a53f023cb3f7293db80c04fd51
Author: Török Edvin <edwin at clamav.net>
Date:   Mon Nov 9 16:57:33 2009 +0200

    Run clamscan with --debug to help diagnose failures.

diff --git a/unit_tests/check_common.sh b/unit_tests/check_common.sh
index b57f8db..36d6cb5 100644
--- a/unit_tests/check_common.sh
+++ b/unit_tests/check_common.sh
@@ -146,7 +146,7 @@ end_valgrind() {
 # ----------- clamscan tests --------------------------------------------------------
 test_clamscan() {
     test_start $1
-    if test_run 1 $CLAMSCAN --quiet -dtest-db/test.hdb $TESTFILES --log=clamscan.log; then
+    if test_run 1 $CLAMSCAN --debug --quiet -dtest-db/test.hdb $TESTFILES --log=clamscan.log; then
 	scan_failed clamscan.log "clamscan didn't detect all testfiles correctly"
     fi
     NINFECTED=`grep "Infected files" clamscan.log | cut -f2 -d: | sed -e 's/ //g'`

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list