D3749: tests: replace `echo -n` with `printf` per check-code

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Fri Jun 15 14:15:16 UTC 2018


durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3749

AFFECTED FILES
  tests/test-commit-interactive-curses.t

CHANGE DETAILS

diff --git a/tests/test-commit-interactive-curses.t b/tests/test-commit-interactive-curses.t
--- a/tests/test-commit-interactive-curses.t
+++ b/tests/test-commit-interactive-curses.t
@@ -215,7 +215,7 @@
   +hello world
 
 Make file empty
-  $ echo -n > x
+  $ printf "" > x
   $ cat <<EOF >testModeCommands
   > X
   > EOF



To: durin42, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list