Skip to content

Commit

Permalink
Skip if HAproxy is version 1
Browse files Browse the repository at this point in the history
  • Loading branch information
bsdphk committed Mar 22, 2023
1 parent 2475ad6 commit 36f7552
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/varnishtest/tests/c00114.vtc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 36f7552

Please sign in to comment.