]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTEST: Make this reg test be Linux specific.
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 29 Apr 2019 14:10:12 +0000 (16:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 30 Apr 2019 09:56:52 +0000 (11:56 +0200)
This patch reverts 9ffb88 commit (REGTEST: Be less Linux specific with a syslog
regex.) and makes this script be Linux specific.

reg-tests/checks/4be_1srv_smtpchk_httpchk_layer47errors.vtc

index ffd31235e64db8b4b9c30b5734f831de8c148602..e3c959f16d3db0fbb5e4e55a3817431ba33f20f5 100644 (file)
@@ -1,6 +1,7 @@
 varnishtest "Check: smptchk option"
 feature ignore_unknown_macro
 
+#EXCLUDE_TARGETS=freebsd,osx,generic
 #REGTEST_TYPE=slow
 
 barrier b cond 3
@@ -29,7 +30,7 @@ syslog S3 -level notice {
     recv
     expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Proxy be3 started"
     recv
-    expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Health check for server be3/srv3 failed, reason: Layer4 .* check duration: [[:digit:]]+ms, status: 0/1 DOWN."
+    expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Health check for server be3/srv3 failed, reason: Layer4 connection problem, info: \"General socket error \\(Network is unreachable\\)\", check duration: [[:digit:]]+ms, status: 0/1 DOWN."
 } -start
 
 syslog S4 -level notice {