# HG changeset patch # User Christian Ebert # Date 1171702484 -3600 # Node ID f5f171785e29c67b414023f2d1a7783ba0b4eb73 # Parent 797dbdd4d7e107b2ad62fe9f29d7507c6c967d56 test-notify: adapt to sed shipped with MacOS MacOS X' sed does not have the \? repetition operator. diff --git a/tests/test-notify b/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 <> $HGRCPATH