test-notify: adapt to sed shipped with MacOS
authorChristian Ebert <blacktrash@gmx.net>
Sat, 17 Feb 2007 09:54:44 +0100
changeset 4106 f5f171785e29
parent 4105 797dbdd4d7e1
child 4107 226df1808f16
child 4117 c95060a5391a
test-notify: adapt to sed shipped with MacOS MacOS X' sed does not have the \? repetition operator.
tests/test-notify
--- a/tests/test-notify
+++ b/tests/test-notify
@@ -33,7 +33,7 @@ hg --traceback --cwd a commit -Amb -d '1
 
 echo '% pull (minimal config)'
 hg --traceback --cwd b pull ../a 2>&1 | sed -e 's/\(Message-Id:\).*/\1/' \
-  -e 's/changeset \([0-9a-f]* \)\?in .*test-notif/changeset \1in test-notif/' \
+  -e 's/changeset \([0-9a-f]* \)*in .*test-notif/changeset \1in test-notif/' \
   -e 's/^details: .*test-notify/details: test-notify/'
 
 cat <<EOF >> $HGRCPATH