From 4c195f17a11fa68c39482f0bf66042120f27bc42 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 14 Dec 2009 02:55:20 +0000 Subject: [PATCH] Limit coredumpsize to 0 in test scripts to avoid dumping cores at build time. --- test/check-div0 | 2 ++ test/check-memory | 2 ++ test/check-overflow | 2 ++ 3 files changed, 6 insertions(+) diff --git a/test/check-div0 b/test/check-div0 index acb16f7..1a38491 100755 --- a/test/check-div0 +++ b/test/check-div0 @@ -2,6 +2,8 @@ . "$(dirname "$0")/functions.inc" +limit coredumpsize 0 + PROGRAM="$DIR/bug-div0" if [ ! -f "$PROGRAM" ]; then echo "error: test/bug-div0 is missing" diff --git a/test/check-memory b/test/check-memory index 1ac3bb0..fdf197f 100755 --- a/test/check-memory +++ b/test/check-memory @@ -2,6 +2,8 @@ . "$(dirname "$0")/functions.inc" +limit coredumpsize 0 + PROGRAM="$DIR/bug-memory" if [ ! -f "$PROGRAM" ]; then echo "error: test/bug-memory is missing" diff --git a/test/check-overflow b/test/check-overflow index 0856987..f688386 100755 --- a/test/check-overflow +++ b/test/check-overflow @@ -2,6 +2,8 @@ . "$(dirname "$0")/functions.inc" +limit coredumpsize 0 + PROGRAM="$DIR/bug-overflow" if [ ! -f "$PROGRAM" ]; then echo "error: test/bug-overflow is missing"