ALPN: feature macro
[exim.git] / test / scripts / 2190-OpenSSL-ALPN / 2190
1 # TLS: ALPN: mandatory
2 #
3 # Plain server
4 exim -DSERVER=server -bd -oX PORT_D
5 ****
6 # Client requires ALPN (success)
7 exim -DCONTROL=smtp -DREQUIRE=y -odf client_require@test.ex
8 ****
9 killdaemon
10 #
11 # Server can be told to ignore (bad) ALPN from client
12 exim -DSERVER=server -DSTRICT="" -bd -oX PORT_D
13 ****
14 # Client requires ALPN (fail)
15 exim -DCONTROL=http -DREQUIRE=y -odf client_require_fail@test.ex
16 ****
17 exim -Mrm $msg1
18 ****
19 sudo rm -f DIR/spool/db/retry
20 killdaemon
21 #
22 #
23 # Server can be told ALPN mandatory
24 exim -DSERVER=server -DREQUIRE=y -bd -oX PORT_D
25 ****
26 # Client supplies ALPN, good
27 exim -DCONTROL=smtp -odf server_require_good@test.ex
28 ****
29 # Client does not supply ALPN, fails
30 exim -odf server_require_bad@test.ex
31 ****
32 killdaemon
33 #
34 no_msglog_check
35 no_stdout_check