Correct message_linecount in -bem testing.
authorPhilip Hazel <ph10@hermes.cam.ac.uk>
Tue, 7 Nov 2006 10:28:09 +0000 (10:28 +0000)
committerPhilip Hazel <ph10@hermes.cam.ac.uk>
Tue, 7 Nov 2006 10:28:09 +0000 (10:28 +0000)
src/src/exim.c
test/stdout/0542

index 9cef9226b52e395dc30fa6f3e3b87aa94446b2f5..622b1ed01e4581d9d5d2526c0cbb2d1b03230cdf 100644 (file)
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/src/src/exim.c,v 1.46 2006/10/24 12:56:06 ph10 Exp $ */
+/* $Cambridge: exim/src/src/exim.c,v 1.47 2006/11/07 10:28:09 ph10 Exp $ */
 
 /*************************************************
 *     Exim - an Internet mail transport agent    *
@@ -4235,6 +4235,7 @@ if (expansion_test)
     filter_test = FTEST_USER;      /* Fudge to make it look like filter test */
     message_ended = END_NOTENDED;
     read_message_body(receive_msg(extract_recipients));
+    message_linecount += body_linecount;
     (void)dup2(save_stdin, 0);
     (void)close(save_stdin);
     }
index 4bce403cc7230f927b8f13a2b3ba3c913025ea1e..a5bce35c5ee2adbf2f7e66bf9852ef7a4b65f918 100644 (file)
@@ -12,7 +12,7 @@
 > message_size=197
 > message_body_size=77
 > message_exim_id=10HmaY-0005vi-00
-> message_linecount=4
+> message_linecount=6
 > message_body_linecount=2
 > headers -----------------
 > From: A Person <a.person@a.domain.tld>