Mailing List Archive

[master] 36f755211 Skip if HAproxy is version 1
commit 36f755211599a8b1d8a68342979336065a2f4fd1
Author: Poul-Henning Kamp <phk@FreeBSD.org>
Date: Wed Mar 22 12:38:11 2023 +0000

Skip if HAproxy is version 1

diff --git a/bin/varnishtest/tests/c00114.vtc b/bin/varnishtest/tests/c00114.vtc
index 28d691642..85f73a369 100644
--- a/bin/varnishtest/tests/c00114.vtc
+++ b/bin/varnishtest/tests/c00114.vtc
@@ -14,6 +14,9 @@ feature ignore_unknown_macro

feature cmd {haproxy --version 2>&1 | grep -q 'HA-*Proxy version'}

+# not sure which haproxy versions work, but 1.0 certainly do not.
+feature cmd "haproxy --version 2>&1 | grep 'HAProxy version [^1][.]'"
+
server s1 {
rxreq
txresp -hdr "Foo: bar"
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit