@matheusbsbs / matheus-bagliano / commits / 806d5e9044
Fork 0

mailinfo: add explicit test for mails like '<a.u.thor@example.com> (A U Thor)'

Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>

Kirill Smelkov committed Jan 13, 2009 at 12:33 UTC 806d5e90440046a7807f757d70acb29573f89524
5 files changed +11 -1
t/t5100-mailinfo.sh
+1 -1
@@ -11,7 +11,7 @@ test_expect_success 'split sample box' \
11 'git mailsplit -o. ../t5100/sample.mbox >last &&
12 last=`cat last` &&
13 echo total is $last &&
14 - test `cat last` = 12'
14 + test `cat last` = 13'
15
16 for mail in `echo 00*`
17 do
t/t5100/info0013 new
+5
@@ -0,0 +1,5 @@
1 +Author: A U Thor
2 +Email: a.u.thor@example.com
3 +Subject: a patch
4 +Date: Fri, 9 Jun 2006 00:44:16 -0700
5 +
t/t5100/msg0013
t/t5100/patch0013
t/t5100/sample.mbox
+5
@@ -556,3 +556,8 @@ index 3fd3afb..0ee807e 100644
556 #. на своей машине: отредактировать /etc/sudoers (команда ``visudo``) примерно следующим образом::
557 --
558 1.5.6.5
559 +From nobody Mon Sep 17 00:00:00 2001
560 +From: <a.u.thor@example.com> (A U Thor)
561 +Date: Fri, 9 Jun 2006 00:44:16 -0700
562 +Subject: [PATCH] a patch
563 +