[PATCH] test: make test-extdiff resilient to /usr/bin/echo

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Jan 30 21:51:31 UTC 2015


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1422654030 0
#      Fri Jan 30 21:40:30 2015 +0000
# Branch stable
# Node ID d03af1b0a87778304a0995bec2757d257b2e81e3
# Parent  6becb9dbca25057c6186e255a48dd2c2ce5701a5
test: make test-extdiff resilient to /usr/bin/echo

My test machine have 'echo' in '/usb/bin/echo', #dontaskmewhy.

diff --git a/tests/test-extdiff.t b/tests/test-extdiff.t
--- a/tests/test-extdiff.t
+++ b/tests/test-extdiff.t
@@ -177,11 +177,11 @@ Test pre-72a89cf86fcd backward compatibi
   > EOF
 #if windows
 TODO
 #else
   $ hg --debug odd | grep '^running'
-  running "/bin/echo --foo='sp ace' 'sp ace' --bar='sp ace' 'sp ace'" in * (glob)
+  running "*/bin/echo --foo='sp ace' 'sp ace' --bar='sp ace' 'sp ace'" in * (glob)
 #endif
 
 #if execbit
 
 Test extdiff of multiple files in tmp dir:


More information about the Mercurial-devel mailing list