changeset 24153:f7401f816cc9 stable

test: make test-extdiff resilient to */gnubin/echo My Mac test machine has 'echo' in '/opt/local/libexec/gnubin/echo' since, well, GNU is not BSD. Also, I feel it need to be said about using regexes: Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.
author Sean Farley <sean.michael.farley@gmail.com>
date Thu, 26 Feb 2015 10:23:04 -0800
parents 97a548aeb749
children a41902aac76d
files tests/test-extdiff.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-extdiff.t	Thu Feb 26 23:30:33 2015 +0900
+++ b/tests/test-extdiff.t	Thu Feb 26 10:23:04 2015 -0800
@@ -179,7 +179,7 @@
 TODO
 #else
   $ hg --debug odd | grep '^running'
-  running "*/bin/echo --foo='sp ace' 'sp ace' --bar='sp ace' 'sp ace'" in * (glob)
+  running "*/echo --foo='sp ace' 'sp ace' --bar='sp ace' 'sp ace'" in * (glob)
 #endif
 
 Empty argument must be quoted