diff options
Diffstat (limited to 't')
-rwxr-xr-x | t/1900-mdeliver.t | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/t/1900-mdeliver.t b/t/1900-mdeliver.t index 179cbbe..18a7bdb 100755 --- a/t/1900-mdeliver.t +++ b/t/1900-mdeliver.t @@ -67,3 +67,19 @@ rm -f ./inbox/new/* mdeliver inbox/ <./tmp.4 check 'message 4 is delivered verbatim via stdin' 'cmp ./tmp.4 ./inbox/new/*:2,' rm -f ./inbox/new/* + + +cat <<EOF >tmp.mbox +From nobody Thu Jan 1 00:59:59 1970 +Subject: message 1 + +This is message 1. +From nobody Thu Jan 1 00:59:59 1970 +Subject: message 2 + +This is message 2. + +EOF + +mdeliver -M inbox/ <./tmp.mbox +check 'mdeliver -M is tolerant with missing empty lines' 'ls inbox/new | wc -l | grep 2' |