From 5f1f8f86e1cc6d51ba77aed65ae78612a1e9e5cb Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Mon, 27 Feb 2012 13:45:37 -0500 Subject: [PATCH] Got the forw -digest test working. --- Makefile.am | 4 ++- test/forw/test-forw-digest | 85 +++++++++++++++++++++++++++++++++++++++----- 2 files changed, 79 insertions(+), 10 deletions(-) diff --git a/Makefile.am b/Makefile.am index 0889486..aa775f7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -44,7 +44,9 @@ TESTS = test/bad-input/test-header test/comp/test-comp-format \ test/folder/test-create \ test/folder/test-total test/format/test-localmbox \ test/format/test-myname test/format/test-myhost \ - test/format/test-mymbox test/forw/test-forw-format \ + test/format/test-mymbox \ + test/forw/test-forw-digest \ + test/forw/test-forw-format \ test/inc/test-deb359167 test/inc/test-eom-align \ test/manpages/test-manpages test/mhbuild/test-forw \ test/mhpath/test-mhpath \ diff --git a/test/forw/test-forw-digest b/test/forw/test-forw-digest index 9d62fc8..6792a78 100755 --- a/test/forw/test-forw-digest +++ b/test/forw/test-forw-digest @@ -24,27 +24,94 @@ cc4="CC User Four " fcc1="+nosuchmailbox" fcc2="+nosuchmailbox2" +digestdate=$(date "+%A, %d %b %G") + cat > "$expected" <> "$expected" + cat >> "$expected" <> "$expected" < "$expected" <> "$expected" + cat >> "$expected" <> "$expected" <