Limit coredumpsize to 0 in test scripts to avoid dumping cores at build time.

This commit is contained in:
Sam Hocevar 2009-12-14 02:55:20 +00:00 committed by sam
parent 877e2e38ab
commit 4c195f17a1
3 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,8 @@
. "$(dirname "$0")/functions.inc" . "$(dirname "$0")/functions.inc"
limit coredumpsize 0
PROGRAM="$DIR/bug-div0" PROGRAM="$DIR/bug-div0"
if [ ! -f "$PROGRAM" ]; then if [ ! -f "$PROGRAM" ]; then
echo "error: test/bug-div0 is missing" echo "error: test/bug-div0 is missing"

View File

@ -2,6 +2,8 @@
. "$(dirname "$0")/functions.inc" . "$(dirname "$0")/functions.inc"
limit coredumpsize 0
PROGRAM="$DIR/bug-memory" PROGRAM="$DIR/bug-memory"
if [ ! -f "$PROGRAM" ]; then if [ ! -f "$PROGRAM" ]; then
echo "error: test/bug-memory is missing" echo "error: test/bug-memory is missing"

View File

@ -2,6 +2,8 @@
. "$(dirname "$0")/functions.inc" . "$(dirname "$0")/functions.inc"
limit coredumpsize 0
PROGRAM="$DIR/bug-overflow" PROGRAM="$DIR/bug-overflow"
if [ ! -f "$PROGRAM" ]; then if [ ! -f "$PROGRAM" ]; then
echo "error: test/bug-overflow is missing" echo "error: test/bug-overflow is missing"