Squashed commit of PIPE_CONNECT
[exim.git] / test / scripts / 4050-pipe-conn / 4051
1 # pipelined-connect, client
2 #
3 # Not attempted when not advertised
4 exim -bd -DSERVER=server -oX PORT_D
5 ****
6 #
7 exim notadvertised@test.ex
8 Subject: test 1
9
10 ****
11 exim -DCONTROL=127.0.0.1 -q
12 ****
13 killdaemon
14 exim -DNOTDAEMON -DSERVER=server -q
15 ****
16 #
17 #
18 #
19 # Not attempted without a cache entry
20 exim -bd -DSERVER=server -DCONNECTCOND=* -oX PORT_D
21 ****
22 #
23 exim nocache@test.ex
24 Subject test 2
25
26 ****
27 exim -DCONTROL=127.0.0.1 -q
28 ****
29 exim -DNOTDAEMON -DSERVER=server -q
30 ****
31 #
32 #
33 #
34 # Go for it. This one should do early-pipelinng.
35 exim hascache@test.ex
36 Subject test 3
37
38 ****
39 exim -DCONTROL=127.0.0.1 -q
40 ****
41 exim -DNOTDAEMON -DSERVER=server -q
42 ****
43 #
44 #
45 # Check that client doesn't try when not told to, even now there is
46 # a cache entry
47 exim clientno@test.ex
48 Subject test 4
49
50 ****
51 exim -DCONTROL=: -q
52 ****
53 exim -DNOTDAEMON -DSERVER=server -q
54 ****
55 #
56 #
57 killdaemon
58 #
59 no_msglog_check