Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [RFC PATCH v4 26/26] test smart http fetch and push

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:38

"Shawn O. Pearce" [off-list ref] writes:
+test_expect_success 'clone http repository' '
+	GIT_CURL_VERBOSE=1 git clone $HTTPD_URL/git/repo.git clone 2>err &&
+	test_cmp file clone/file &&
+	egrep "^([<>]|Pragma|Accept|Content-|Transfer-)" err |
+	egrep -v "^< (Server|Expires|Date|Content-Length:|Transfer-Encoding: chunked)" |
+	sed -e "
+		s/
//
+		s/^Content-Length: .*$/Content-Length: xxxx/
+	" >act &&
This chomped line is so unlike you---what happened?

Also, when the last downstream is sed, why would you even need two egrep
process?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help