diff options
author | Wojciech Polak <polak@gnu.org> | 2003-07-21 12:59:09 +0000 |
---|---|---|
committer | Wojciech Polak <polak@gnu.org> | 2003-07-21 12:59:09 +0000 |
commit | 9925603bafc51a32998582a886efe06aa9bcd694 (patch) | |
tree | 5556a3e75fabd1681ba6977f5b1ad52cfa227962 /testsuite | |
parent | 09a066136fbd2532385a684ee57937e0e9d72ecb (diff) | |
download | anubis-9925603bafc51a32998582a886efe06aa9bcd694.tar.gz anubis-9925603bafc51a32998582a886efe06aa9bcd694.tar.bz2 |
New test.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/etc/add-body-file.pat | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/testsuite/etc/add-body-file.pat b/testsuite/etc/add-body-file.pat new file mode 100644 index 0000000..d66c57b --- /dev/null +++ b/testsuite/etc/add-body-file.pat @@ -0,0 +1,50 @@ +# This file is part of GNU Anubis testsuite. +# Copyright (C) 2003 The Anubis Team. +# +# GNU Anubis is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# GNU Anubis is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Anubis; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +:TEST Appending a text file to the message body +:MODE SPAWN +:OPTIONS --stdio +:RCFILE add.rc +:RETCODE 0 +:PATTERN +:EXPECT 220 +HELO localhost +:EXPECT 250 +MAIL FROM: <polak@gnu.org> +:EXPECT 250 +RCPT TO: <gray@gnu.org> +:EXPECT 250 +DATA +:EXPECT 354 +From: <polak@gnu.org> +To: <gray@gnu.org> +Subject: The Show Must Go On +X-Order: Append file + +Empty spaces -- what are we living for +Abandoned places -- I guess we know the score +On and on, does anybody know what we are looking for... +Another hero, another mindless crime +:ADD Behind the curtain, in the pantomime +:ADD Hold the line, does anybody want to take it anymore +:ADD The show must go on, +:ADD The show must go on... +. +QUIT +:EXPECT 221 +:END PATTERN +:END TEST |