REGTESTS: Test SPLICE feature is enabled to execute script about splicing

There are 3 scripts relying on the splicing. We must take care the feature
is not explicitly disabled to execute them.
This commit is contained in:
Christopher Faulet 2023-08-04 15:08:04 +02:00
parent 28916a61c9
commit 2efc9e0fb4
3 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@ varnishtest "A test to be sure payload is skipped for bodyless responses when sp
feature cmd "$HAPROXY_PROGRAM -cc 'feature(LINUX_SPLICE)'"
feature cmd "$HAPROXY_PROGRAM $HAPROXY_ARGS -cc 'enabled(FAST-FORWARD)'"
feature cmd "$HAPROXY_PROGRAM $HAPROXY_ARGS -cc 'enabled(SPLICE)'"
feature ignore_unknown_macro
#REQUIRE_VERSION=2.4

View File

@ -5,6 +5,7 @@ varnishtest "A test to validate h1 splicing support"
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.6-dev0)'"
feature cmd "$HAPROXY_PROGRAM -cc 'feature(LINUX_SPLICE)'"
feature cmd "$HAPROXY_PROGRAM $HAPROXY_ARGS -cc 'enabled(FAST-FORWARD)'"
feature cmd "$HAPROXY_PROGRAM $HAPROXY_ARGS -cc 'enabled(SPLICE)'"
feature ignore_unknown_macro
#REGTEST_TYPE=slow

View File

@ -5,6 +5,7 @@ varnishtest "A test to validate h1 splicing support for chunked messages"
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.9-dev0)'"
feature cmd "$HAPROXY_PROGRAM -cc 'feature(LINUX_SPLICE)'"
feature cmd "$HAPROXY_PROGRAM $HAPROXY_ARGS -cc 'enabled(FAST-FORWARD)'"
feature cmd "$HAPROXY_PROGRAM $HAPROXY_ARGS -cc 'enabled(SPLICE)'"
feature ignore_unknown_macro
#REGTEST_TYPE=slow