REGTESTS: Replace REQUIRE_BINARIES with 'command -v'
This migrates the tests to the native `feature cmd` functionality of VTest.
This commit is contained in:
parent
c9570483b0
commit
4ee192f072
@ -1,7 +1,7 @@
|
||||
varnishtest "Try to start a master CLI with 2 programs"
|
||||
#REGTEST_TYPE=bug
|
||||
#REQUIRE_VERSION=2.0
|
||||
#REQUIRE_BINARIES=sleep
|
||||
feature cmd "command -v sleep"
|
||||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
varnishtest "Test the 'add ssl crt-list' feature of the CLI"
|
||||
#REQUIRE_VERSION=2.2
|
||||
#REQUIRE_OPTIONS=OPENSSL
|
||||
#REQUIRE_BINARIES=socat
|
||||
feature cmd "command -v socat"
|
||||
feature ignore_unknown_macro
|
||||
|
||||
server s1 -repeat 2 {
|
||||
|
@ -11,7 +11,7 @@
|
||||
varnishtest "Test the 'new ssl ca-file' and 'del ssl ca-file' commands of the CLI"
|
||||
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||
feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL)'"
|
||||
#REQUIRE_BINARIES=socat
|
||||
feature cmd "command -v socat"
|
||||
feature ignore_unknown_macro
|
||||
|
||||
server s1 -repeat 2 {
|
||||
|
@ -11,7 +11,7 @@
|
||||
varnishtest "Test the 'new ssl crl-file' and 'del ssl crl-file' commands of the CLI"
|
||||
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||
feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL)'"
|
||||
#REQUIRE_BINARIES=socat
|
||||
feature cmd "command -v socat"
|
||||
feature ignore_unknown_macro
|
||||
|
||||
server s1 -repeat 3 {
|
||||
|
@ -17,7 +17,7 @@
|
||||
varnishtest "Test the 'set ssl ca-file' feature of the CLI"
|
||||
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||
feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL)'"
|
||||
#REQUIRE_BINARIES=socat
|
||||
feature cmd "command -v socat"
|
||||
feature ignore_unknown_macro
|
||||
|
||||
server s1 -repeat 4 {
|
||||
|
@ -22,7 +22,7 @@
|
||||
varnishtest "Test the 'set ssl cert' feature of the CLI"
|
||||
#REQUIRE_VERSION=2.2
|
||||
#REQUIRE_OPTIONS=OPENSSL
|
||||
#REQUIRE_BINARIES=socat
|
||||
feature cmd "command -v socat"
|
||||
feature ignore_unknown_macro
|
||||
|
||||
server s1 -repeat 9 {
|
||||
|
@ -17,7 +17,7 @@
|
||||
varnishtest "Test the 'set ssl cert' feature of the CLI with bundles"
|
||||
#REQUIRE_VERSION=2.3
|
||||
#REQUIRE_OPTIONS=OPENSSL
|
||||
#REQUIRE_BINARIES=socat
|
||||
feature cmd "command -v socat"
|
||||
feature ignore_unknown_macro
|
||||
|
||||
server s1 -repeat 9 {
|
||||
|
@ -14,7 +14,7 @@
|
||||
varnishtest "Test the 'set ssl cert' feature of the CLI with separate key and crt"
|
||||
#REQUIRE_VERSION=2.2
|
||||
#REQUIRE_OPTIONS=OPENSSL
|
||||
#REQUIRE_BINARIES=socat
|
||||
feature cmd "command -v socat"
|
||||
feature ignore_unknown_macro
|
||||
|
||||
server s1 -repeat 3 {
|
||||
|
@ -20,7 +20,7 @@
|
||||
varnishtest "Test the 'set ssl crl-file' feature of the CLI"
|
||||
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||
feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL)'"
|
||||
#REQUIRE_BINARIES=socat
|
||||
feature cmd "command -v socat"
|
||||
feature ignore_unknown_macro
|
||||
|
||||
server s1 -repeat 4 {
|
||||
|
@ -6,7 +6,7 @@
|
||||
varnishtest "Test the 'set ssl cert' feature of the CLI"
|
||||
#REQUIRE_VERSION=2.4
|
||||
#REQUIRE_OPTIONS=OPENSSL
|
||||
#REQUIRE_BINARIES=socat
|
||||
feature cmd "command -v socat"
|
||||
feature ignore_unknown_macro
|
||||
|
||||
server s1 -repeat 4 {
|
||||
|
@ -21,7 +21,7 @@
|
||||
varnishtest "Test the 'show ssl ocsp-response' and 'show ssl cert foo.pem.ocsp' features of the CLI"
|
||||
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||
feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL)'"
|
||||
#REQUIRE_BINARIES=socat
|
||||
feature cmd "command -v socat"
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
|
Loading…
x
Reference in New Issue
Block a user