]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTEST/MINOR: compatibility: use unix@ instead of abns@ sockets
authorPiBa-NL <PiBa.NL.dev@gmail.com>
Wed, 3 Oct 2018 21:54:49 +0000 (23:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 4 Oct 2018 02:18:47 +0000 (04:18 +0200)
Changes the /reg-tests/connection/b00000.vtc test to use unix@ instead of abns@ sockets.
This to allow the test to complete on other operating systems like FreeBSD that do not have 'namespaces'.

reg-tests/connection/b00000.vtc

index 3a873848aeb07f0c6668ba92bc9164dae7409fd5..cbb8a7b0b94aeb4f626300f123dcdb4b0836ce19 100644 (file)
@@ -36,14 +36,14 @@ haproxy h1 -conf {
 
     listen http
         bind-process 1
-        bind abns@http accept-proxy name ssl-offload-http
+        bind unix@${testdir}/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 abns@http send-proxy
+        server http unix@${testdir}/http.socket send-proxy
 } -start