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

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Fri Jun 15 10:36:35 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG2baf79933b45: tests: replace `echo -n` with `printf` per check-code (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3749?vs=9093&id=9094

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, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list