diff options
Diffstat (limited to 'mail/tests/copy04.at')
-rw-r--r-- | mail/tests/copy04.at | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mail/tests/copy04.at b/mail/tests/copy04.at index fd8a5b422..d38ce8e3c 100644 --- a/mail/tests/copy04.at +++ b/mail/tests/copy04.at @@ -1,5 +1,5 @@ # This file is part of GNU Mailutils. -*- Autotest -*- -# Copyright (C) 2015-2019 Free Software Foundation, Inc. +# Copyright (C) 2015-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 @@ -33,13 +33,17 @@ file +mbox copy 1 # ]) MUT_MAIL_CMD -N -E "set folder=\"$folder\"" -f $MBOX < script | dnl - sed 's/ *$//;s|'$NEW'|NEW|;s|'$MBOX'|MBOX|' + sed -e 's/ *$//' \ + -e 's|'$NEW'|NEW|'\ + -e '/"NEW" *[[0-9]]/s/[[0-9]][[0-9]]*/D/g'\ + -e 's|'$MBOX'|MBOX|'\ + sed '/^X-IMAPbase:/d;/^Status:/d;/^X-UID/d' $NEW | diff - $abs_top_srcdir/testsuite/spool/mbox ], [0], [Held 1 message in MBOX Held 0 messages in NEW -"NEW" 17/482 +"NEW" D/D Held 1 message in MBOX ]) |