tests/test-discovery-obshashrange-cache.t
branchmercurial-4.6
changeset 4360 522abf1d70b7
parent 4267 18ed2a237ab5
child 4840 62b60fc1983d
--- a/tests/test-discovery-obshashrange-cache.t	Mon Dec 24 17:47:28 2018 +0100
+++ b/tests/test-discovery-obshashrange-cache.t	Tue Jan 22 12:54:44 2019 -0500
@@ -28,7 +28,7 @@
   $ hg -R main debugbuilddag '.+7'
 
   $ for node in `hg -R main log -T '{node}\n'`; do
-  >     echo -n $node | grep -o . | sort |tr -d "\n" > ancfile
+  >     printf $node | grep -o . | sort |tr -d "\n" > ancfile
   >     anc=`cat ancfile`
   >     rm ancfile
   >     echo "marking $anc as predecessors of $node"