[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:25:56 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit 95fc03dac72e9149e11bff7b6250d866fbf04e0b
Author: Török Edvin <edwin at clamav.net>
Date: Wed Mar 24 16:41:29 2010 +0200
Fix unit test script.
test_run always exits with 1 on success, so check its return code.
diff --git a/unit_tests/check_unit_vg.sh b/unit_tests/check_unit_vg.sh
index cb79bda..1f4269f 100755
--- a/unit_tests/check_unit_vg.sh
+++ b/unit_tests/check_unit_vg.sh
@@ -1,5 +1,8 @@
-#!/bin/sh -x
+#!/bin/sh
. $srcdir/check_common.sh
init_valgrind
-CK_FORK=no WRAPPER="$VALGRIND $VALGRIND_FLAGS" test_run 0 $TOP/unit_tests/check_clamav
+export CK_FORK=no WRAPPER="$VALGRIND $VALGRIND_FLAGS" CK_DEFAULT_TIMEOUT=40
+if test_run 0 $TOP/unit_tests/check_clamav; then
+ echo "check_clamav failed to run" >&2
+fi
end_valgrind
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list