diff tests/test-notify-changegroup @ 11671:ca6ede0988d5

Remove variable output affected by length of TMPDIR. If the temporary directory is longer than /tmp then it's possible that the Subject line will get wrapped by the headencode function.
author Lee Cantey <lcantey@gmail.com>
date Sun, 25 Jul 2010 08:22:03 -0700
parents b714aac1f7b3
children
line wrap: on
line diff
--- a/tests/test-notify-changegroup	Sun Jul 25 13:10:57 2010 +0200
+++ b/tests/test-notify-changegroup	Sun Jul 25 08:22:03 2010 -0700
@@ -10,7 +10,7 @@
 [notify]
 sources = push
 diffstat = False
-maxsubject = 200
+maxsubject = 10
 
 [usersubs]
 foo@bar = *
@@ -37,7 +37,7 @@
     python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' |
     sed -e 's/\(Message-Id:\).*/\1/' \
         -e 's/changeset \([0-9a-f]* *\)in .*test-notif/changeset \1in test-notif/' \
-        -e 's/^Subject: .*test-notify/Subject: test-notify/' \
+        -e 's/^Subject: .*/Subject: test-notify-changegroup/' \
         -e 's/^details: .*test-notify/details: test-notify/' \
         -e 's/^Date:.*/Date:/'