From: Frédéric Lécaille Date: Thu, 29 Nov 2018 13:23:32 +0000 (+0100) Subject: REGTEST: Fix LEVEL 4 script 0 of "connection" module. X-Git-Tag: v1.9-dev9~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d92ae75a90b5d217e2a78fffa3521eed3d1eb49c;p=thirdparty%2Fhaproxy.git REGTEST: Fix LEVEL 4 script 0 of "connection" module. Prevent this script from creating a UNIX socket in ${testdir} which is the parent directory of the script. Prefer use ${tmpdir} which is the temporary working directory for the script. --- diff --git a/reg-tests/connection/b00000.vtc b/reg-tests/connection/b00000.vtc index cbb8a7b0b9..50bb749448 100644 --- a/reg-tests/connection/b00000.vtc +++ b/reg-tests/connection/b00000.vtc @@ -36,14 +36,14 @@ haproxy h1 -conf { listen http bind-process 1 - bind unix@${testdir}/http.socket accept-proxy name ssl-offload-http + bind unix@${tmpdir}/http.socket accept-proxy name ssl-offload-http option forwardfor listen ssl-offload-http option httplog bind-process 2-4 bind "fd@${ssl}" ssl crt ${testdir}/common.pem ssl no-sslv3 alpn h2,http/1.1 - server http unix@${testdir}/http.socket send-proxy + server http unix@${tmpdir}/http.socket send-proxy } -start