From: Christopher Faulet Date: Wed, 21 Sep 2022 13:05:42 +0000 (+0200) Subject: REGTESTS: 4be_1srv_smtpchk_httpchk_layer47errors: Return valid SMTP replies X-Git-Tag: v2.7-dev7~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=330af2d7ed2d8d72800fc7761253ff6965681742;p=thirdparty%2Fhaproxy.git REGTESTS: 4be_1srv_smtpchk_httpchk_layer47errors: Return valid SMTP replies The s1 server is acting like a SMTP server. But it sends two CRLF at the end of each line, while only one CRLF must be returned. It only works becaue both CRLF are received at the same time. --- diff --git a/reg-tests/checks/4be_1srv_smtpchk_httpchk_layer47errors.vtc b/reg-tests/checks/4be_1srv_smtpchk_httpchk_layer47errors.vtc index 2e98a3f89a..90a4881bcf 100644 --- a/reg-tests/checks/4be_1srv_smtpchk_httpchk_layer47errors.vtc +++ b/reg-tests/checks/4be_1srv_smtpchk_httpchk_layer47errors.vtc @@ -36,12 +36,12 @@ server s1 { send "2" send "2" send "0" - send "\r\n\r\n" + send "\r\n" recv 16 send "2" send "4" send "8" - send "\r\n\r\n" + send "\r\n" } -start server s2 {