changeset 38334:2baf79933b45 stable

tests: replace `echo -n` with `printf` per check-code Differential Revision: https://phab.mercurial-scm.org/D3749
author Augie Fackler <augie@google.com>
date Fri, 15 Jun 2018 10:14:32 -0400
parents 03350f5234a4
children ae7f27867c2a
files tests/test-commit-interactive-curses.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-commit-interactive-curses.t	Thu Jun 14 14:04:26 2018 -0700
+++ b/tests/test-commit-interactive-curses.t	Fri Jun 15 10:14:32 2018 -0400
@@ -215,7 +215,7 @@
   +hello world
 
 Make file empty
-  $ echo -n > x
+  $ printf "" > x
   $ cat <<EOF >testModeCommands
   > X
   > EOF