mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-22 04:10:48 +00:00
REGTESTS: Use feature cmd
for 2.5+ tests
Using `REQUIRE_VERSION` is deprecated for tests targeting HAProxy with `-cc` support.
This commit is contained in:
parent
a39e6266d1
commit
7ba98480cc
@ -1,6 +1,6 @@
|
||||
varnishtest "scheme based normalization (rfc3982 6.3.2)"
|
||||
#REQUIRE_VERSION=2.5
|
||||
|
||||
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||
feature ignore_unknown_macro
|
||||
|
||||
syslog S1 -level info {
|
||||
|
@ -3,10 +3,9 @@
|
||||
#
|
||||
varnishtest "Delete server via cli"
|
||||
|
||||
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||
feature ignore_unknown_macro
|
||||
|
||||
#REQUIRE_VERSION=2.5
|
||||
|
||||
haproxy h1 -conf {
|
||||
defaults
|
||||
mode http
|
||||
|
@ -2,11 +2,10 @@
|
||||
# cannot be removed at runtime.
|
||||
varnishtest "Delete lua server via cli"
|
||||
|
||||
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||
feature cmd "$HAPROXY_PROGRAM -cc 'feature(LUA)'"
|
||||
feature ignore_unknown_macro
|
||||
|
||||
#REQUIRE_VERSION=2.5
|
||||
#REQUIRE_OPTIONS=LUA
|
||||
|
||||
server s1 {
|
||||
rxreq
|
||||
txresp
|
||||
|
Loading…
Reference in New Issue
Block a user