t5540-http-test: shorten grep pattern
authorBrian Gernhardt <brian@gernhardtsoftware.com>
Mon, 29 Aug 2011 06:42:21 +0000 (02:42 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Aug 2011 06:50:04 +0000 (23:50 -0700)
commitf6918da789b07fabbc82e189d0bac50a79622828
tree3574fc57c82e9380b626fc398353cda2d640d3bb
parent6a7f71d376becc1a5b0357b682dd0c20842104b0
t5540-http-test: shorten grep pattern

On OS X, the grep pattern

    "\"OP .*/objects/$x2/X38_X40 HTTP/[.0-9]*\" 20[0-9] "

is too long ($x38 and $x40 represent 38 and 40 copies of [0-9a-f]) for
grep to handle.  In order to still be able to match this, use the sed
invocation to replace what we're looking for with a token.

Improved-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5540-http-push.sh