]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
mlmmj-maintd: resend_queue: add a missing test
authorBaptiste Daroussin <bapt@FreeBSD.org>
Wed, 8 Mar 2023 14:37:47 +0000 (15:37 +0100)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Wed, 8 Mar 2023 14:37:47 +0000 (15:37 +0100)
tests/mlmmj-maintd.sh

index ad45626e4cd35300f4ea94ea86097918e41dbc21..eac7b8e3eb4810e77d524051e88743ff3dcd3336 100755 (executable)
@@ -882,11 +882,13 @@ resend_queue_body()
        echo "25678" > list/control/smtpport
        echo "heloname" > list/control/smtphelo
        touch list/queue/file
+       touch list/queue/plop.hey
 
        # no .mailfrom, no.reciptto no.reply-to but recent
        atf_check $mlmmjmaintd -L list -F
        atf_check -s exit:1 test -f mail-1.txt
        atf_check -s exit:0 test -f list/queue/file
+       atf_check -s exit:1 test -f list/queue/plop.hey
 
        touch -t 000101010101 list/queue/file
        # no .mailfrom, no.reciptto no.reply-to but recent