test-evolve: fix tests failing on some platform
authorLaurent Charignon <lcharignon@fb.com>
Fri, 19 Jun 2015 16:49:59 -0700
changeset 1406 5a91ee6a42e6
parent 1405 eaf82490af76
child 1407 552687eb4856
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.
tests/test-evolve.t
--- 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
   |