]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t1517: add missing LIBCURL prereq
authorMartin Ågren <martin.agren@gmail.com>
Wed, 11 Sep 2024 10:30:59 +0000 (12:30 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Sep 2024 15:38:07 +0000 (08:38 -0700)
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>
t/t1517-outside-repo.sh

index 990a03658214a4cd2c5fa742346f9d939c92a254..342defbb61762892744c3f4dfa96336c6a19d36a 100755 (executable)
@@ -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 &&
        (