# HG changeset patch # User Sean Farley # Date 2015-02-26 18:23:04 # Node ID f7401f816cc98ca07365104bdcd2c242cfafb83a # Parent 97a548aeb74987a02d74164a791bf7fe749a1a81 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. diff --git a/tests/test-extdiff.t b/tests/test-extdiff.t --- a/tests/test-extdiff.t +++ b/tests/test-extdiff.t @@ -179,7 +179,7 @@ Test pre-72a89cf86fcd backward compatibi 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