Here is a little reg test fix.

Fred.
>From 61fd6486eee833b42a342993706b656537079242 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= <flecai...@haproxy.com>
Date: Thu, 29 Nov 2018 14:23:32 +0100
Subject: [PATCH] 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.
---
 reg-tests/connection/b00000.vtc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/reg-tests/connection/b00000.vtc b/reg-tests/connection/b00000.vtc
index cbb8a7b0..50bb7494 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
 
 
-- 
2.11.0

Reply via email to