mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-03 02:32:03 +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)"
|
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
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
syslog S1 -level info {
|
syslog S1 -level info {
|
||||||
|
@ -3,10 +3,9 @@
|
|||||||
#
|
#
|
||||||
varnishtest "Delete server via cli"
|
varnishtest "Delete server via cli"
|
||||||
|
|
||||||
|
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
#REQUIRE_VERSION=2.5
|
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
|
@ -2,11 +2,10 @@
|
|||||||
# cannot be removed at runtime.
|
# cannot be removed at runtime.
|
||||||
varnishtest "Delete lua server via cli"
|
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
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
#REQUIRE_VERSION=2.5
|
|
||||||
#REQUIRE_OPTIONS=LUA
|
|
||||||
|
|
||||||
server s1 {
|
server s1 {
|
||||||
rxreq
|
rxreq
|
||||||
txresp
|
txresp
|
||||||
|
Loading…
Reference in New Issue
Block a user