projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4656bf4
)
t5551: fix expected error output
author
Junio C Hamano
<gitster@pobox.com>
Tue, 5 Feb 2013 00:21:42 +0000
(16:21 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 5 Feb 2013 00:21:42 +0000
(16:21 -0800)
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>
t/t5551-http-fetch.sh
patch
|
blob
|
history
diff --git
a/t/t5551-http-fetch.sh
b/t/t5551-http-fetch.sh
index cb95b953b72cc8dc5d56c5c3d3a5c0a8b462f324..47eb76921ddd53acb63573f9af75e41ab5067f5c 100755
(executable)
--- 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