Commit 36f75521 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Skip if HAproxy is version 1

parent 2475ad6c
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment