[master] 36f755211 Skip if HAproxy is version 1
Poul-Henning Kamp
phk at FreeBSD.org
Wed Mar 22 12:39:10 UTC 2023
commit 36f755211599a8b1d8a68342979336065a2f4fd1
Author: Poul-Henning Kamp <phk at 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"
More information about the varnish-commit
mailing list