test-tags: use printf instead of echo '...\n'
authorNicolas Dumazet <nicdumz.commits@gmail.com>
Tue, 19 Oct 2010 23:15:31 +0900
changeset 12763 93c4da6c4416
parent 12762 8bac8cd43c8d
child 12764 ad2506f097d3
test-tags: use printf instead of echo '...\n'
tests/test-tags.t
--- a/tests/test-tags.t	Sun Oct 17 22:24:26 2010 +0200
+++ b/tests/test-tags.t	Tue Oct 19 23:15:31 2010 +0900
@@ -36,7 +36,7 @@
 
 Try corrupting the cache
 
-  $ echo 'a b\n' > .hg/tags.cache
+  $ printf 'a b' > .hg/tags.cache
   $ hg identify
   .hg/tags.cache is corrupt, rebuilding it
   acb14030fe0a tip