зеркало из https://github.com/microsoft/git.git
t5551: fix expected error output
We should probably get rid of the check of message instead, but in the meantime this should do. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
4656bf47fc
Коммит
af3aec4469
|
@ -158,9 +158,8 @@ test_expect_success 'GIT_SMART_HTTP can disable smart http' '
|
|||
'
|
||||
|
||||
test_expect_success 'invalid Content-Type rejected' '
|
||||
echo "fatal: invalid content-type text/html" >expect
|
||||
test_must_fail git clone $HTTPD_URL/broken_smart/repo.git 2>actual
|
||||
test_cmp expect actual
|
||||
grep "not valid:" actual
|
||||
'
|
||||
|
||||
test -n "$GIT_TEST_LONG" && test_set_prereq EXPENSIVE
|
||||
|
|
Загрузка…
Ссылка в новой задаче