Mercurial > hg
changeset 11883:01e04df696e3
test-init: replace 'echo -n' with 'printf'
The '-n' argument to echo is a non-standard extension that isn't
supported on Mac OS X 10.6.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 15 Aug 2010 17:42:44 +0200 |
parents | e3526634d5a3 |
children | 73112cb2a6d7 |
files | tests/test-init.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-init.t Sat Aug 14 18:31:22 2010 -0300 +++ b/tests/test-init.t Sun Aug 15 17:42:44 2010 +0200 @@ -130,7 +130,7 @@ check names for repositories (clashes with URL schemes, special chars) $ for i in bundle file hg http https old-http ssh static-http " " "with space"; do - > echo -n "hg init \"$i\"... " + > printf "hg init \"$i\"... " > hg init "$i" > test -d "$i" -a -d "$i/.hg" && echo "ok" || echo "failed" > done