author | Brian Gernhardt <benji@silverinsanity.com> | |
Fri, 31 Oct 2008 05:09:13 +0000 (01:09 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 1 Nov 2008 04:38:48 +0000 (21:38 -0700) | ||
commit | 6ecfd91df5ec462aeded967c9ad21912c249f96e | |
tree | faa7135734d9905f6cb430abe9561b5f771c0250 | tree | snapshot |
parent | df5e91fc2c95e051744ec9b9de66869d2b323037 | commit | diff |
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>
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>