t4205 (log-pretty-formats): avoid using `sed`
commit37eb772ef3a5da0b28d3759373d714b349306ea4
authorAlexey Shumkin <alex.crezoff@gmail.com>
Fri, 5 Jul 2013 12:01:50 +0000 (5 16:01 +0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Jul 2013 18:54:53 +0000 (5 11:54 -0700)
tree7dfccf9f6c81931e8110c49a0223b4ce9c94af28
parent0fe6df3ce8e6373536d1a9016cac9126a1aed0da
t4205 (log-pretty-formats): avoid using `sed`

For testing truncated log messages 'commit_msg' function uses `sed` to
cut a message. On various platforms `sed` behaves differently and
results of its work depend on locales installed. So, avoid using `sed`.
Use predefined expected outputs instead of calculated ones.

Signed-off-by: Alexey Shumkin <Alex.Crezoff@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4205-log-pretty-formats.sh