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>
Junio C Hamano committed
Feb 4, 2013 at 16:21 UTC
af3aec4469f91dcd34d60706a1addfedbb84ece5
1 file changed
+1
-2
t/t5551-http-fetch.sh
+1
-2
@@ -158,9 +158,8 @@ test_expect_success 'GIT_SMART_HTTP can disable smart http' '
158
'
159
160
test_expect_success 'invalid Content-Type rejected' '
161
- echo "fatal: invalid content-type text/html" >expect
161
test_must_fail git clone $HTTPD_URL/broken_smart/repo.git 2>actual
163
- test_cmp expect actual
162
+ grep "not valid:" actual
163
'
164
165
test -n "$GIT_TEST_LONG" && test_set_prereq EXPENSIVE