From 378d500caffcc2a62d166df06b0bdac7cd395545 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Mon, 22 Apr 2024 16:15:57 +0200 Subject: [PATCH] REGTESTS: use -dI for insecure fork by default in the regtest scripts Let's remove the CI HAPROXY_ARGS setting and set -dI for anything run with the run-regtests.sh. --- .github/workflows/vtest.yml | 2 +- scripts/run-regtests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/vtest.yml b/.github/workflows/vtest.yml index 5ee8a7a64..27d96989a 100644 --- a/.github/workflows/vtest.yml +++ b/.github/workflows/vtest.yml @@ -149,7 +149,7 @@ jobs: # the '-n' soft limit to the hard limit, thus failing to run. ulimit -n 65536 ulimit -c unlimited - make reg-tests HAPROXY_ARGS="-dI" VTEST_PROGRAM=../vtest/vtest REGTESTS_TYPES=default,bug,devel + make reg-tests VTEST_PROGRAM=../vtest/vtest REGTESTS_TYPES=default,bug,devel - name: Config syntax check memleak smoke testing if: ${{ contains(matrix.name, 'ASAN') }} run: | diff --git a/scripts/run-regtests.sh b/scripts/run-regtests.sh index 85f13419e..eeb41f94f 100755 --- a/scripts/run-regtests.sh +++ b/scripts/run-regtests.sh @@ -312,7 +312,7 @@ _version() { HAPROXY_PROGRAM="${HAPROXY_PROGRAM:-${PWD}/haproxy}" -HAPROXY_ARGS="${HAPROXY_ARGS--dM}" +HAPROXY_ARGS="${HAPROXY_ARGS--dM -dI}" VTEST_PROGRAM="${VTEST_PROGRAM:-vtest}" TESTDIR="${TMPDIR:-/tmp}" REGTESTS=""