REGTESTS: Add script to test abortonclose option

This script test abortonclose option for HTTP/1 client only. It may be
backported as far as 2.0. But on the 2.2 and prior, the syslog part must be
adapted to catch log messages emitted by proxy during HAProxy
startup. Following lines must be added :

    recv
    expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Proxy fe1 started."
    recv
    expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Proxy fe2 started."

(cherry picked from commit 16b37510bc1114ab7603240f8bbfeea20e5ee23b)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit c2471edc6075f8af6d03a372d9475e186a444c49)
[Cf: It is useless to change the reg-tests for the 2.2 because log level is
set to info. So the above log messages are never reveiced by the syslog
server]
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 55f57a3b8b474c3e2e3af863392c4cb20d95c74f)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed