From 848878c2158511ec3c55d7b5c0b32dbfa6a56066 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Tue, 21 Feb 2023 11:21:03 +0100 Subject: [PATCH] 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. --- reg-tests/http-messaging/http_splicing.vtc | 1 + 1 file changed, 1 insertion(+) diff --git a/reg-tests/http-messaging/http_splicing.vtc b/reg-tests/http-messaging/http_splicing.vtc index 2456cdd..e553cbf 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 -- 1.7.10.4