Teach SMTP input sync check ("input sent too soon") about SMTP input buffering
[exim.git] / test / scripts / 5730-OCSP-GnuTLS-events / 5730
CommitLineData
0cbf2b82 1# OCSP stapling, client, events
018058b2
JH
2# duplicate of 5651
3#
4#
5# Client works when we request but don't require OCSP stapling and none comes
0a6583ae 6exim -bd -oX PORT_D -DSERVER=server -DOPT=""
018058b2
JH
7****
8exim norequire@test.ex
9test message.
10****
11sleep 1
12killdaemon
13#
14#
15#
16#
17# Client works when we request but don't require OCSP stapling and some arrives
18exim -bd -oX PORT_D -DSERVER=server \
0a6583ae 19 -DOPT=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp
018058b2
JH
20****
21exim norequire@test.ex
22test message.
23****
40525d07 24millisleep 700
018058b2
JH
25#
26#
27#
28#
29# Client works when we don't request OCSP stapling
30exim nostaple@test.ex
31test message.
32****
40525d07 33millisleep 700
018058b2
JH
34#
35#
36#
37#
38# Client accepts good stapled info
39exim good@test.ex
40test message.
41****
42sleep 1
43killdaemon
44#
45#
46#
47# Client fails on lack of required stapled info
0a6583ae 48exim -bd -oX PORT_D -DSERVER=server -DOPT=""
018058b2
JH
49****
50exim failrequire@test.ex
51test message.
52****
53sleep 1
54killdaemon
a57ce043 55sudo rm DIR/spool/db/retry
018058b2
JH
56#
57#
58#
59# Client fails on revoked stapled info
60EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
0a6583ae 61 -DOPT=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp
018058b2
JH
62****
63exim failrevoked@test.ex
64test message.
65****
66sleep 1
67killdaemon
a57ce043 68sudo rm DIR/spool/db/retry
018058b2
JH
69#
70#
71#
72#
73# Client fails on expired stapled info
74EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
0a6583ae 75 -DOPT=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp
018058b2
JH
76****
77exim failexpired@test.ex
78test message.
79****
80sleep 1
81killdaemon
82#
83#
84#
85#
a57ce043 86no_msglog_check