[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:07 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 04a32cd3129d5f675126d4c0282d5876ff6efaaf
Author: Török Edvin <edwin at clamav.net>
Date:   Fri Nov 13 21:35:12 2009 +0200

    Solaris's /bin/sh doesn't support export FOO=...

diff --git a/unit_tests/check_common.sh b/unit_tests/check_common.sh
index 36d6cb5..0963f3f 100644
--- a/unit_tests/check_common.sh
+++ b/unit_tests/check_common.sh
@@ -122,10 +122,11 @@ scan_failed() {
 # ----------- valgrind wrapper 
 init_valgrind() {
     test "x$VG" = "x1" || { echo "*** valgrind tests skipped by default, use 'make check VG=1' to activate"; exit 77; }
-    export VALGRIND=`which ${VALGRIND-valgrind}`
-    export VALGRIND_COMMON_FLAGS="-v --trace-children=yes --suppressions=$abs_srcdir/valgrind.supp --log-file=valgrind.log --error-exitcode=123 $GENSUPP"
-    export VALGRIND_FLAGS="$VALGRIND_COMMON_FLAGS --track-fds=yes --leak-check=full"
-    export VALGRIND_FLAGS_RACE="$VALGRIND_COMMON_FLAGS --tool=helgrind"
+    VALGRIND=`which ${VALGRIND-valgrind}`
+    VALGRIND_COMMON_FLAGS="-v --trace-children=yes --suppressions=$abs_srcdir/valgrind.supp --log-file=valgrind.log --error-exitcode=123 $GENSUPP"
+    VALGRIND_FLAGS="$VALGRIND_COMMON_FLAGS --track-fds=yes --leak-check=full"
+    VALGRIND_FLAGS_RACE="$VALGRIND_COMMON_FLAGS --tool=helgrind"
+    export VALGRIND VALGRIND_COMMON_FLAGS VALGRIND_FLAGS VALGRIND_FLAGS_RACE
     test -n "$VALGRIND" || { echo "*** valgrind not found, skipping test"; exit 77; }
     test -x "$VALGRIND" || { echo "*** valgrind not executable, skipping test"; exit 77; }
 }

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list