mirror of
https://github.com/git/git.git
synced 2024-11-23 09:56:28 +08:00
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>
This commit is contained in:
parent
6809f8ccad
commit
dc542fcd6b
@ -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 &&
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user