# HG changeset patch # User Joerg Sonnenberger # Date 1586455352 -7200 # Node ID 1227553f82c62ac0d37fb83d5ae0208a88d7e7c3 # Parent 6a4a65edecdc60649da9ea17aa794fadda8a5de5 tests: don't assume that echo will unescape \\ diff -r 6a4a65edecdc -r 1227553f82c6 tests/testlib/push-checkheads-util.sh --- a/tests/testlib/push-checkheads-util.sh Thu Apr 09 19:52:30 2020 +0200 +++ b/tests/testlib/push-checkheads-util.sh Thu Apr 09 20:02:32 2020 +0200 @@ -34,6 +34,6 @@ echo >> "client/.hg/hgrc" "[ui]" echo >> "client/.hg/hgrc" "# simpler log output" - echo >> "client/.hg/hgrc" 'logtemplate = "{node|short} [{branch}{if(topic, ":{topic}")}] ({phase}): {desc}\\n"' + printf >> "client/.hg/hgrc" "%s" 'logtemplate = "{node|short} [{branch}{if(topic, ":{topic}")}] ({phase}): {desc}\n"' fi }