diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-02-04 16:21:42 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-04 16:21:42 -0800 |
commit | af3aec4469f91dcd34d60706a1addfedbb84ece5 (patch) | |
tree | 932d7a941875a821072ee99e8539bf6519aa4fca /t | |
parent | 4656bf47fca857df51b5d6f4b7b052192b3b2317 (diff) | |
download | git-af3aec4469f91dcd34d60706a1addfedbb84ece5.tar.gz git-af3aec4469f91dcd34d60706a1addfedbb84ece5.tar.xz |
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>
Diffstat (limited to 't')
-rwxr-xr-x | t/t5551-http-fetch.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/t5551-http-fetch.sh b/t/t5551-http-fetch.sh index cb95b953b..47eb76921 100755 --- a/t/t5551-http-fetch.sh +++ b/t/t5551-http-fetch.sh @@ -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 |