typo
[exim.git] / test / scripts / 2000-GnuTLS / 2038
1 # TLS: ALPN: mandatory
2 # Separated from the OpenSSL equivalent as we deliberately send a Fatal Alert, and that gets logged by the receiver
3 # OpenSSL does not provides the facility.
4 gnutls
5 exim -DSERVER=server -bd -oX PORT_D
6 ****
7 # Client requires ALPN (success)
8 exim -DCONTROL=smtp -DREQUIRE=y -odf client_require@test.ex
9 ****
10 killdaemon
11 #
12 # Server can be told to ignore (bad) ALPN from client
13 exim -DSERVER=server -DSTRICT="" -bd -oX PORT_D
14 ****
15 # Client requires ALPN (fail)
16 exim -DCONTROL=http -DREQUIRE=y -odf client_require_fail@test.ex
17 ****
18 exim -Mrm $msg1
19 ****
20 sudo rm -f DIR/spool/db/retry
21 killdaemon
22 #
23 #
24 # Server can be told ALPN mandatory
25 exim -DSERVER=server -DREQUIRE=y -bd -oX PORT_D
26 ****
27 # Client supplies ALPN, good
28 exim -DCONTROL=smtp -odf server_require_good@test.ex
29 ****
30 # Client does not supply ALPN, fails
31 exim -odf server_require_bad@test.ex
32 ****
33 killdaemon
34 #
35 no_msglog_check
36 no_stdout_check