summaryrefslogtreecommitdiff
path: root/mda/mda/tests/mda.at
diff options
context:
space:
mode:
Diffstat (limited to 'mda/mda/tests/mda.at')
-rw-r--r--mda/mda/tests/mda.at12
1 files changed, 7 insertions, 5 deletions
diff --git a/mda/mda/tests/mda.at b/mda/mda/tests/mda.at
index 711520e77..6ab62af08 100644
--- a/mda/mda/tests/mda.at
+++ b/mda/mda/tests/mda.at
@@ -1,5 +1,5 @@
# This file is part of GNU Mailutils. -*- Autotest -*-
-# Copyright (C) 2010-2019 Free Software Foundation, Inc.
+# Copyright (C) 2010-2024 Free Software Foundation, Inc.
#
# GNU Mailutils is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
@@ -26,6 +26,7 @@ AT_KEYWORDS([mda mda0])
AT_CHECK([
cat $INPUT_MSG > expout
+echo "" >> expout
mkdir spool
TESTMDA_CONF
testmda --from gulliver@example.net root < $INPUT_MSG || exit $?
@@ -43,9 +44,10 @@ AT_KEYWORDS([mda mda1])
AT_CHECK([
date="Thu Oct 7 19:10:57 2010"
envelope="From gulliver $date"
-echo $envelope > msg
+echo "$envelope" > msg
cat $INPUT_MSG >> msg
cat $INPUT_MSG > expout
+echo "" >> expout
mkdir spool
TESTMDA_CONF
testmda --from gulliver@example.net root < msg || exit $?
@@ -53,15 +55,15 @@ dumpmail spool/root
case $MU_DEFAULT_SCHEME in
mbox)
head -1 spool/root
- echo $envelope >> expout
+ echo "$envelope" >> expout
;;
mh)
sed -n -e '/^X-Envelope-Date: */s///p' spool/root/1
- echo $date >> expout
+ echo "$date" >> expout
;;
maildir)
sed -n -e '/^X-Envelope-Date: */s///p' $(find spool/root/new -type f | head -n 1)
- echo $date >> expout
+ echo "$date" >> expout
;;
esac
],

Return to:

Send suggestions and report system problems to the System administrator.