Fix test-notify for systems without or with a different version of diffstat.
authorThomas Arendsen Hein <thomas@intevation.de>
Fri, 01 Dec 2006 14:46:05 +0100
changeset 3747 b5c4d749f37f
parent 3746 a095c13c173c
child 3748 7b88bd88f040
Fix test-notify for systems without or with a different version of diffstat. Some diffstat versions say "1 file changed", others "1 files changed".
tests/test-notify
tests/test-notify.out
--- a/tests/test-notify
+++ b/tests/test-notify
@@ -13,6 +13,7 @@ sources = pull
 domain = test.com
 strip = 3
 template = Subject: {desc|firstline|strip}\nFrom: {author}\n\nchangeset {node|short} in {webroot}\ndescription:\n\t{desc|tabindent|strip}
+diffstat = False
 
 [web]
 baseurl = http://test/
--- a/tests/test-notify.out
+++ b/tests/test-notify.out
@@ -19,11 +19,6 @@ To: foo@bar
 changeset 0647d048b600
 description:
 	b
-diffstat:
-
-1 file changed, 1 insertion(+)
-a |    1 +
-
 diffs (6 lines):
 
 diff -r cb9a9f314b8b -r 0647d048b600 a