aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Ågren <martin.agren@gmail.com>2024-09-11 12:30:59 +0200
committerJunio C Hamano <gitster@pobox.com>2024-09-11 08:38:07 -0700
commitdc542fcd6bb0fb6a85ac52f62c3e2f0849001cc8 (patch)
treef1603a439819593fe6c11998a1227759669752c3
parent6809f8ccade093875ace7a8493fe09babd539cb1 (diff)
downloadgit-dc542fcd6bb0fb6a85ac52f62c3e2f0849001cc8.tar.gz
t1517: add missing LIBCURL prereq
After building Git with NO_LIBCURL, there is no `git remote-http`, so it's not meaningful to test that it can run outside of a repository. Indeed, that test will fail. Add the LIBCURL prereq to it. Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t1517-outside-repo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1517-outside-repo.sh b/t/t1517-outside-repo.sh
index 990a036582..342defbb61 100755
--- a/t/t1517-outside-repo.sh
+++ b/t/t1517-outside-repo.sh
@@ -98,7 +98,7 @@ test_expect_success 'stripspace outside repository' '
nongit git stripspace -s </dev/null
'
-test_expect_success 'remote-http outside repository' '
+test_expect_success LIBCURL 'remote-http outside repository' '
test_must_fail git remote-http 2>actual &&
test_grep "^error: remote-curl" actual &&
(