String expansions: fix ${extract }, for the numeric/3-string case. Bug 1807
[exim.git] / test / scripts / 0000-Basic / 0460
1 # bare LF in header lines (TCP input)
2 need_ipv4
3 #
4 exim -bd -DSERVER=server -oX PORT_D
5 ****
6 client 127.0.0.1 PORT_D
7 ??? 220
8 ehlo rhu.barb
9 ??? 250-
10 ??? 250-
11 ??? 250-
12 ??? 250-
13 ??? 250
14 mail from:<userx@test.ex>
15 ??? 250
16 rcpt to:<userx@test.ex>
17 ??? 250
18 DATA
19 ??? 3
20 From: x@y
21 To: some@one
22 Subject: contains >\n< bare lf
23 Aheader: Another header line
24
25 This is the message body.
26 .
27 ??? 2
28 mail from:<userx@test.ex>
29 ??? 250
30 rcpt to:<userx@test.ex>
31 ??? 250
32 DATA
33 ??? 3
34 From: x@y\nBheader: some text
35 To: some@one
36 Subject: contains >\n< bare lf
37 Aheader: Another header line
38
39 This is the message body.
40 .
41 ??? 2
42 QUIT
43 ??? 221
44 ****
45 killdaemon
46 # Wait for delivery process
47 sleep 1
48 sortlog