tests/test-notify
changeset 4489 afa1f57ae484
parent 4157 bfeff6dcac7a
child 4517 5371a213b0f4
--- a/tests/test-notify
+++ b/tests/test-notify
@@ -34,7 +34,8 @@ 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/^details: .*test-notify/details: test-notify/'
+  -e 's/^details: .*test-notify/details: test-notify/' \
+  -e 's/^Date:.*/Date:/'
 
 cat <<EOF >> $HGRCPATH
 [notify]
@@ -50,5 +51,6 @@ EOF
 echo % pull
 hg --cwd b rollback
 hg --traceback --cwd b pull ../a 2>&1 | sed -e 's/\(Message-Id:\).*/\1/' \
-  -e 's/changeset \([0-9a-f]*\) in .*/changeset \1/'
+  -e 's/changeset \([0-9a-f]*\) in .*/changeset \1/' \
+  -e 's/^Date:.*/Date:/'