test-notify: adapt to sed shipped with MacOS
authorChristian Ebert <blacktrash@gmx.net>
Sat, 17 Feb 2007 09:54:44 +0100
changeset 4107 f5f171785e29
parent 4106 797dbdd4d7e1
child 4108 226df1808f16
child 4115 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	Sat Feb 17 09:55:00 2007 -0200
+++ b/tests/test-notify	Sat Feb 17 09:54:44 2007 +0100
@@ -33,7 +33,7 @@
 
 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