Files
husk-milter/e2e-tests/tests/20_simple_encrypt.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

17 lines
320 B
Bash

#!/usr/bin/bash
# source some functions
. common.sh
test_header "Simple: Test encryption for available certificate"
# There is an authenticated certificate for bob in the cert store
create_unix_user bob
send_test_mail bob@example.com
RESULT_CODE=$(expect_mail bob encrypted)
delete_unix_user bob
exit $RESULT_CODE