aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tls/t
blob: dd6d9559e87b85717fc42073e89f8ad8016a4d1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
for ((i = 0; i < 32; i++)); do
    u="$(shuf -n1 -e "local" "remote")"
    sample_message | deliver -u "$u"
done

interimap --debug || error
grep -Fx "remote: Disabling SSL protocols: SSLv3, TLSv1, TLSv1.1" <"$STDERR" || error
grep -Fx "remote: Peer certificate fingerprint: sha256\$35944e3bd3300d3ac310bb497a32cc1eef6931482a587ddbc95343740cdf1323" <"$STDERR" || error
grep "^remote: SSL protocol: TLSv1\.[23] " <"$STDERR" || error
grep "^remote: SSL cipher: " <"$STDERR" || error

check_mailbox_status "INBOX"

# vim: set filetype=sh :