summaryrefslogtreecommitdiff
path: root/tools/test-common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test-common.sh')
-rwxr-xr-xtools/test-common.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/test-common.sh b/tools/test-common.sh
index c1391a4959..ee56b6e0ee 100755
--- a/tools/test-common.sh
+++ b/tools/test-common.sh
@@ -30,7 +30,7 @@ MAX_PASSES=0
# These may be set to your liking
# Stop the child process if it's running longer than x seconds
-MAX_CPU_TIME=900
+MAX_CPU_TIME=300
# Stop the child process if it's using more than y * 1024 bytes
MAX_VMEM=500000
# Stop the child process if its stack is larger than than z * 1024 bytes
@@ -53,12 +53,6 @@ if [ "$BIN_DIR" = "." ]; then
export WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1
fi
-# set some limits to the child processes, e.g. stop it if it's running longer then MAX_CPU_TIME seconds
-# (ulimit is not supported well on cygwin and probably other platforms, e.g. cygwin shows some warnings)
-ulimit -S -t $MAX_CPU_TIME -v $MAX_VMEM -s $MAX_STACK
-ulimit -c unlimited
-
-
##############################################################################
### Set up environment variables for fuzz testing ###
##############################################################################