From: Kirill Smelkov Date: Tue, 13 Jan 2009 09:33:48 +0000 (+0300) Subject: mailinfo: add explicit test for mails like ' (A U Thor)' X-Git-Tag: v1.6.2-rc0~41^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=806d5e90440046a7807f757d70acb29573f89524;p=git.git mailinfo: add explicit test for mails like ' (A U Thor)' Signed-off-by: Kirill Smelkov --- diff --git a/t/t5100-mailinfo.sh b/t/t5100-mailinfo.sh index 886d44910..497cb0dd9 100755 --- a/t/t5100-mailinfo.sh +++ b/t/t5100-mailinfo.sh @@ -11,7 +11,7 @@ test_expect_success 'split sample box' \ 'git mailsplit -o. ../t5100/sample.mbox >last && last=`cat last` && echo total is $last && - test `cat last` = 12' + test `cat last` = 13' for mail in `echo 00*` do diff --git a/t/t5100/info0013 b/t/t5100/info0013 new file mode 100644 index 000000000..bbe049e20 --- /dev/null +++ b/t/t5100/info0013 @@ -0,0 +1,5 @@ +Author: A U Thor +Email: a.u.thor@example.com +Subject: a patch +Date: Fri, 9 Jun 2006 00:44:16 -0700 + diff --git a/t/t5100/msg0013 b/t/t5100/msg0013 new file mode 100644 index 000000000..e69de29bb diff --git a/t/t5100/patch0013 b/t/t5100/patch0013 new file mode 100644 index 000000000..e69de29bb diff --git a/t/t5100/sample.mbox b/t/t5100/sample.mbox index 38725f38d..85df55f2c 100644 --- a/t/t5100/sample.mbox +++ b/t/t5100/sample.mbox @@ -556,3 +556,8 @@ index 3fd3afb..0ee807e 100644 #. на своей машине: отредактировать /etc/sudoers (команда ``visudo``) примерно следующим образом:: -- 1.5.6.5 +From nobody Mon Sep 17 00:00:00 2001 +From: (A U Thor) +Date: Fri, 9 Jun 2006 00:44:16 -0700 +Subject: [PATCH] a patch +