# HG changeset patch # User Martin Geisler # Date 1281886964 -7200 # Node ID 01e04df696e3ea18b44c7820f94bd4c234cf8552 # Parent e3526634d5a33e8ec326e27c33da985967ef5fa2 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. diff --git a/tests/test-init.t b/tests/test-init.t --- a/tests/test-init.t +++ b/tests/test-init.t @@ -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