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

Michael Tautschnig mt at debian.org
Wed Apr 14 09:04:27 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 764b5f204bd543d0ff3914c67e6cb53fe8297261
Author: Michael Tautschnig <mt at debian.org>
Date:   Wed Apr 14 11:03:52 2010 +0200

    Set ulimit -v to 600000 to make unit tests work on kfreebsd-amd64
    
    Signed-off-by: Michael Tautschnig <mt at debian.org>

diff --git a/debian/changelog b/debian/changelog
index e583bf8..b6d6b19 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,8 +16,10 @@ clamav (0.96+dfsg-2) unstable; urgency=low
     default to sync with clamav-daemon (closes: #534748)
   * Copy files from /usr/share/doc/clamav-base/examples/ only if this dir
     exists (closes: #550641)
+  * Increase virtual memory ulimit for unit tests to 600000 to make unit tests
+    work on kfreebsd-amd64 as well
 
- -- Stephen Gran <sgran at debian.org>  Tue, 13 Apr 2010 19:21:18 +0200
+ -- Stephen Gran <sgran at debian.org>  Wed, 14 Apr 2010 11:03:46 +0200
 
 clamav (0.96+dfsg-1) unstable; urgency=low
 
diff --git a/unit_tests/check_common.sh b/unit_tests/check_common.sh
index 25857ca..ea77f86 100644
--- a/unit_tests/check_common.sh
+++ b/unit_tests/check_common.sh
@@ -47,7 +47,7 @@ die()
 
 # Setup test directory to avoid temporary and output file clashes
 test_start() {
-    ulimit -t 120; ulimit -d 512000; ulimit -v 512000;
+    ulimit -t 120; ulimit -d 512000; ulimit -v 600000;
     (cd test-$1 2>/dev/null && killclamd || true)
     rm -rf test-$1
     mkdir test-$1

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list