Code

t/annotate-tests.sh: avoid passing a non-newline terminated file to sed
authorBrandon Casey <casey@nrlssc.navy.mil>
Wed, 6 May 2009 18:29:16 +0000 (13:29 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 May 2009 18:50:44 +0000 (11:50 -0700)
commitd8b69ecb4c467c044c08e0435bb22ade16ea580f
tree5997d061b177661c19b9147c296763db2ca534fe
parent325fb151047d668133cd456e78953f1b1aa09114
t/annotate-tests.sh: avoid passing a non-newline terminated file to sed

Some versions of sed exit non-zero if the file they are supplied is not
newline terminated.  Solaris's /usr/xpg4/bin/sed is one such sed.  So
rework this test to avoid doing so.

This affects tests t8001-annotate.sh and t8002-blame.sh.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/annotate-tests.sh