comparison tests/test-notify @ 4106:f5f171785e29

test-notify: adapt to sed shipped with MacOS MacOS X' sed does not have the \? repetition operator.
author Christian Ebert <blacktrash@gmx.net>
date Sat, 17 Feb 2007 09:54:44 +0100
parents fbf0e9acfd83
children bfeff6dcac7a
comparison
equal deleted inserted replaced
4105:797dbdd4d7e1 4106:f5f171785e29
31 echo % commit 31 echo % commit
32 hg --traceback --cwd a commit -Amb -d '1 0' 32 hg --traceback --cwd a commit -Amb -d '1 0'
33 33
34 echo '% pull (minimal config)' 34 echo '% pull (minimal config)'
35 hg --traceback --cwd b pull ../a 2>&1 | sed -e 's/\(Message-Id:\).*/\1/' \ 35 hg --traceback --cwd b pull ../a 2>&1 | sed -e 's/\(Message-Id:\).*/\1/' \
36 -e 's/changeset \([0-9a-f]* \)\?in .*test-notif/changeset \1in test-notif/' \ 36 -e 's/changeset \([0-9a-f]* \)*in .*test-notif/changeset \1in test-notif/' \
37 -e 's/^details: .*test-notify/details: test-notify/' 37 -e 's/^details: .*test-notify/details: test-notify/'
38 38
39 cat <<EOF >> $HGRCPATH 39 cat <<EOF >> $HGRCPATH
40 [notify] 40 [notify]
41 config = $HGTMP/.notify.conf 41 config = $HGTMP/.notify.conf