Avoid using non-portable `echo -n` in tests.
authorBrian Gernhardt <benji@silverinsanity.com>
Fri, 31 Oct 2008 05:09:13 +0000 (01:09 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 1 Nov 2008 04:38:48 +0000 (21:38 -0700)
commit6ecfd91df5ec462aeded967c9ad21912c249f96e
treefaa7135734d9905f6cb430abe9561b5f771c0250
parentdf5e91fc2c95e051744ec9b9de66869d2b323037
Avoid using non-portable `echo -n` in tests.

Expecting echo to recognise -n is a BSDism.  Using printf is far more
portable.

Discovered on OS X 10.5.5 in t4030-diff-textconv.sh and changed in all
the test scripts.

Signed-off-by: Brian Gernhardt <benji@silverinsanity.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2005-checkout-index-symlinks.sh
t/t2102-update-index-symlinks.sh
t/t4030-diff-textconv.sh
t/t6025-merge-symlinks.sh
t/t9400-git-cvsserver-server.sh