test-import: use printf instead of echo
authorPatrick Mezard <pmezard@gmail.com>
Wed, 03 Nov 2010 21:10:59 +0100
changeset 12914 27bc21814e9c
parent 12913 0e0a52bd58f9
child 12915 df1b65f8b4d4
test-import: use printf instead of echo
tests/test-import.t
--- a/tests/test-import.t	Thu Oct 21 16:04:34 2010 -0500
+++ b/tests/test-import.t	Wed Nov 03 21:10:59 2010 +0100
@@ -440,9 +440,8 @@
 
 import with --no-commit should have written .hg/last-message.txt
 
-  $ echo '\n' | cat .hg/last-message.txt -
+  $ printf '\n' | cat .hg/last-message.txt -
   change
-  
 
 
 test fuzziness with eol=auto