t0211: add missing LIBCURL prereq
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>
Martin Ågren committed
Sep 11, 2024 at 12:31 UTC
86b93bddeb53390746d5b5bd2ad1f47a89bc910e
1 file changed
+4
-2
t/t0211-trace2-perf.sh
+4
-2
@@ -337,7 +337,8 @@ test_expect_success 'expect def_params for query command' '
337
# remote-curl.c rather than git.c. Confirm that we get def_param
338
# events from both layers.
339
#
340
-test_expect_success 'expect def_params for remote-curl and _run_dashed_' '
340
+test_expect_success LIBCURL \
341
+ 'expect def_params for remote-curl and _run_dashed_' '
342
test_when_finished "rm prop.perf actual" &&
343
344
test_config_global "trace2.configParams" "cfg.prop.*" &&
@@ -366,7 +367,8 @@ test_expect_success 'expect def_params for remote-curl and _run_dashed_' '
367
# an executable built from http-fetch.c. Confirm that we get
368
# def_param events from both layers.
369
#
369
-test_expect_success 'expect def_params for http-fetch and _run_dashed_' '
370
+test_expect_success LIBCURL \
371
+ 'expect def_params for http-fetch and _run_dashed_' '
372
test_when_finished "rm prop.perf actual" &&
373
374
test_config_global "trace2.configParams" "cfg.prop.*" &&