changeset 1406:5a91ee6a42e6

test-evolve: fix tests failing on some platform We change from echo to printf to print newlines so that evolve's tests work cross-platforms.
author Laurent Charignon <lcharignon@fb.com>
date Fri, 19 Jun 2015 16:49:59 -0700
parents eaf82490af76
children 552687eb4856
files tests/test-evolve.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-evolve.t	Tue Jun 16 16:58:38 2015 -0700
+++ b/tests/test-evolve.t	Fri Jun 19 16:49:59 2015 -0700
@@ -979,7 +979,7 @@
   created new head
   $ hg up 14 
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
-  $ echo "newline\nnewline" >> a
+  $ printf "newline\nnewline\n" >> a
   $ hg glog
   o  16	: add gh - test
   |