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

login
register
mail settings
Submitter phabricator
Date June 15, 2018, 2:36 p.m.
Message ID <274ad24415dd412fdae7ff1a098c3c02@localhost.localdomain>
Download mbox | patch
Permalink /patch/32179/
State Not Applicable
Headers show

Comments

phabricator - June 15, 2018, 2:36 p.m.
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




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

Patch

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