tests/test-export.t
changeset 23172 e955549cd045
parent 18956 1a9ad84583ee
child 27416 9d04b4da6773
--- a/tests/test-export.t	Tue Nov 04 10:40:06 2014 +0000
+++ b/tests/test-export.t	Tue Nov 04 23:41:46 2014 +0900
@@ -176,10 +176,12 @@
   [255]
 
 Check for color output
-  $ echo "[color]" >> $HGRCPATH
-  $ echo "mode = ansi" >> $HGRCPATH
-  $ echo "[extensions]" >> $HGRCPATH
-  $ echo "color=" >> $HGRCPATH
+  $ cat <<EOF >> $HGRCPATH
+  > [color]
+  > mode = ansi
+  > [extensions]
+  > color =
+  > EOF
 
   $ hg export --color always --nodates tip
   # HG changeset patch