From add79d179653e6a1f039e505867c429790d1a66a Mon Sep 17 00:00:00 2001 From: Malte Meiboom Date: Wed, 12 Aug 2026 11:38:27 +0200 Subject: [PATCH] Adjust tests - Add Tor to the docker image - Increase sleeping time in the mailsplit test --- docker/MTAContainerFile | 3 ++- e2e-tests/tests/70_mail_split.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/MTAContainerFile b/docker/MTAContainerFile index cb4056e..d7454bd 100644 --- a/docker/MTAContainerFile +++ b/docker/MTAContainerFile @@ -61,7 +61,8 @@ RUN apt-get update -yqq && \ sq \ bind9-host \ inotify-tools \ - mailutils + mailutils \ + tor RUN adduser --shell /bin/bash --disabled-password --gecos "" hockeypuck diff --git a/e2e-tests/tests/70_mail_split.sh b/e2e-tests/tests/70_mail_split.sh index f1efb35..b59a24f 100644 --- a/e2e-tests/tests/70_mail_split.sh +++ b/e2e-tests/tests/70_mail_split.sh @@ -12,7 +12,7 @@ authenticate $KARL_FPR create_unix_user laura echo -e "To: karl@example.com, Laura \nSubject: Testmail\n\nTestmail." | sendmail -t -sleep 1 +sleep 2 R=1 if [ $(expect_mail karl encrypted) == 0 ] ; then