GnuTLS: clear errno before any data i/o op, so error logging does not see stale values
[users/heiko/exim.git] / test / scripts / 2000-GnuTLS / 2036
1 # client: callout lazy-close, smtp send
2 gnutls
3 need_ipv4
4 #
5 # a recipient verify and continued-delivery
6 # smtp send
7 # a tls-capable target for the verify/delivery connection on PORT_D
8 # plus a daemon under test on PORT_S
9 exim -bd -DSERVER=server -oX PORT_D:PORT_S
10 ****
11 #
12 client 127.0.0.1 PORT_S
13 ??? 220
14 EHLO test.ex
15 ??? 250-
16 ??? 250-
17 ??? 250-
18 ??? 250-
19 ??? 250-
20 ??? 250 
21 MAIL FROM:<userc@ok.example>
22 ??? 250
23 RCPT TO:<userd@test.ex>
24 ??? 250
25 DATA
26 ??? 354
27 Subject: test
28
29 body
30 .
31 ??? 250
32 QUIT
33 ??? 221
34 ****
35 sleep 3
36 killdaemon
37 exim -q
38 ****
39 #
40 #
41 # smtp send, deliver_drop_priv
42 exim -bd -DSERVER=server -DOPT=deliver_drop_privilege -oX PORT_D:PORT_S
43 ****
44 #
45 client 127.0.0.1 PORT_S
46 ??? 220
47 EHLO test.ex
48 ??? 250-
49 ??? 250-
50 ??? 250-
51 ??? 250-
52 ??? 250-
53 ??? 250 
54 MAIL FROM:<usere@ok.example>
55 ??? 250
56 RCPT TO:<userf@test.ex>
57 ??? 250
58 DATA
59 ??? 354
60 Subject: test
61
62 body
63 .
64 ??? 250
65 QUIT
66 ??? 221
67 ****
68 sleep 3
69 killdaemon
70 exim -q
71 ****
72 #
73 #
74 #
75 no_stdout_check
76 no_msglog_check