]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: Skip http_splicing.vtc script if fast-forward is disabled
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 21 Feb 2023 10:21:03 +0000 (11:21 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 21 Feb 2023 10:44:55 +0000 (11:44 +0100)
If "-dF" command line argument is passed to haproxy to execute the script,
by sepcifying HAPROXY_ARGS variable, http_splicing.vtc is now skipped.
Without this patch, the script fails when the fast-forward is disabled.

reg-tests/http-messaging/http_splicing.vtc

index 2456cdd2a98ffcd5fff6ca966cca383f9fb8dec9..e553cbf4b6d3bf2b9257abd9b9d029897472a9d7 100644 (file)
@@ -4,6 +4,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 ignore_unknown_macro
 
 #REGTEST_TYPE=slow