# HG changeset patch # User Sean Farley # Date 1424974984 28800 # 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 -r 97a548aeb749 -r f7401f816cc9 tests/test-extdiff.t --- 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