Fix sed expression for OS X and Solaris 2.6.
Matches previous fixes in other tests.
--- a/tests/test-diff-ignore-whitespace Thu Jul 13 09:40:01 2006 -0700
+++ b/tests/test-diff-ignore-whitespace Thu Jul 13 11:19:35 2006 -0700
@@ -3,7 +3,8 @@
# GNU diff is the reference for all of these results.
hgdiff() {
- hg diff "$@" | sed "s/\(\(---\|+++\) [a-zA-Z0-9_/.-]*\).*/\1/"
+ hg diff "$@" | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \
+ -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/"
}
test_added_blank_lines() {