From: Christopher Faulet Date: Tue, 21 Feb 2023 10:21:03 +0000 (+0100) Subject: REGTESTS: Skip http_splicing.vtc script if fast-forward is disabled X-Git-Tag: v2.8-dev5~148 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=848878c2158511ec3c55d7b5c0b32dbfa6a56066;p=thirdparty%2Fhaproxy.git REGTESTS: Skip http_splicing.vtc script if fast-forward is disabled 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. --- diff --git a/reg-tests/http-messaging/http_splicing.vtc b/reg-tests/http-messaging/http_splicing.vtc index 2456cdd2a9..e553cbf4b6 100644 --- a/reg-tests/http-messaging/http_splicing.vtc +++ b/reg-tests/http-messaging/http_splicing.vtc @@ -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