~ubuntu-branches/ubuntu/oneiric/clamav/oneiric-security

« back to all changes in this revision

Viewing changes to unit_tests/check_common.sh

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2011-06-18 11:56:34 UTC
  • mfrom: (0.35.21 sid)
  • Revision ID: james.westby@ubuntu.com-20110618115634-u2lovivet0qx34d0
Tags: 0.97.1+dfsg-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop build-dep on electric-fence (in Universe)
  - Add apparmor profiles for clamd and freshclam along with maintainer
    script changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
 
48
48
# Setup test directory to avoid temporary and output file clashes
49
49
test_start() {
50
 
    ulimit -t 120 || true; ulimit -d 524288 || true;
51
 
    ulimit -v 600000 || true;
 
50
    ulimit -t 120 || true; ulimit -d 1024000 || true;
 
51
    ulimit -v 1024000 || true;
52
52
    (cd test-$1 2>/dev/null && killclamd || true)
53
53
    rm -rf test-$1
54
54
    mkdir test-$1