]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t0211: add missing LIBCURL prereq
authorMartin Ågren <martin.agren@gmail.com>
Wed, 11 Sep 2024 10:31:00 +0000 (12:31 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Sep 2024 15:38:08 +0000 (08:38 -0700)
After building Git with NO_LIBCURL, we're lacking `git remote-http` and
`git http-fetch`, so when we test that they trace as they should, we're
bound to fail. Add the LIBCURL prereq to those tests.

Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0211-trace2-perf.sh

index 070fe7a5da7c24106bdc76771a7f338c1e33d9fa..dddc130560ba6150fc5f5eac36c65ff76a2d31a1 100755 (executable)
@@ -337,7 +337,8 @@ test_expect_success 'expect def_params for query command' '
 # remote-curl.c rather than git.c.  Confirm that we get def_param
 # events from both layers.
 #
-test_expect_success 'expect def_params for remote-curl and _run_dashed_' '
+test_expect_success LIBCURL \
+               'expect def_params for remote-curl and _run_dashed_' '
        test_when_finished "rm prop.perf actual" &&
 
        test_config_global "trace2.configParams" "cfg.prop.*" &&
@@ -366,7 +367,8 @@ test_expect_success 'expect def_params for remote-curl and _run_dashed_' '
 # an executable built from http-fetch.c.  Confirm that we get
 # def_param events from both layers.
 #
-test_expect_success 'expect def_params for http-fetch and _run_dashed_' '
+test_expect_success LIBCURL \
+               'expect def_params for http-fetch and _run_dashed_' '
        test_when_finished "rm prop.perf actual" &&
 
        test_config_global "trace2.configParams" "cfg.prop.*" &&