Files
husk-milter/e2e-tests/tests/10_basic.sh
T
Malte Meiboom 1f8d7e9a3f Add test framework to test
- Mail encryption (when expected)
- Introducer listing, adding and removing
- Locals listing, adding and removing
2026-05-20 14:27:28 +02:00

16 lines
250 B
Bash

#!/usr/bin/bash
# source some functions
. common.sh
test_header "Basic: Test if MTA is working"
create_unix_user mtatest
send_test_mail mtatest@example.com
RESULT_CODE=$(expect_mail mtatest delivered)
delete_unix_user mtatest
exit $RESULT_CODE