Merge remote-tracking branch 'origin/mbedtls-2.7' into mbedtls-2.7-restricted

* origin/mbedtls-2.7:
  tests: Limit each log to 10 GiB
This commit is contained in:
Jaeden Amero 2019-07-12 10:16:03 +01:00
commit a115207830
2 changed files with 8 additions and 0 deletions

View file

@ -15,6 +15,10 @@
set -u set -u
# Limit the size of each log to 10 GiB, in case of failures with this script
# where it may output seemingly unlimited length error logs.
ulimit -f 20971520
# initialise counters # initialise counters
TESTS=0 TESTS=0
FAILED=0 FAILED=0

View file

@ -21,6 +21,10 @@
set -u set -u
# Limit the size of each log to 10 GiB, in case of failures with this script
# where it may output seemingly unlimited length error logs.
ulimit -f 20971520
# default values, can be overridden by the environment # default values, can be overridden by the environment
: ${P_SRV:=../programs/ssl/ssl_server2} : ${P_SRV:=../programs/ssl/ssl_server2}
: ${P_CLI:=../programs/ssl/ssl_client2} : ${P_CLI:=../programs/ssl/ssl_client2}