]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTEST: Fix LEVEL 4 script 0 of "connection" module.
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 29 Nov 2018 13:23:32 +0000 (14:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Dec 2018 12:35:31 +0000 (13:35 +0100)
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.

reg-tests/connection/b00000.vtc

index cbb8a7b0b94aeb4f626300f123dcdb4b0836ce19..50bb749448621d912a6425b67add8f5b7ba7e1f7 100644 (file)
@@ -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