diff tests/test-grep @ 11141:df5d1d571d27

tests: force color ansi mode on Windows
author Patrick Mezard <pmezard@gmail.com>
date Mon, 10 May 2010 22:46:16 +0200
parents 717c35d55fb3
children
line wrap: on
line diff
--- a/tests/test-grep	Mon May 10 21:44:00 2010 +0200
+++ b/tests/test-grep	Mon May 10 22:46:16 2010 +0200
@@ -22,7 +22,8 @@
 echo % simple
 hg grep port port
 echo % simple with color
-hg --config extensions.color= grep --color=always port port
+hg --config extensions.color= grep --config color.mode=ansi \
+    --color=always port port
 echo % all
 hg grep --traceback --all -nu port port
 echo % other