Testtsuite: portability
[exim.git] / test / scripts / 0999-EXP-Queue-Ramp / 0999
CommitLineData
ff966302
JH
1# fast-ramp continued-delivery queue run
2# Exim test configuration 0999
3#
4# This feature has testability problems, because it results in
5# parallel processing of the queue by two concurrent processes
6# - the daemon, having been notified by the manual "-qq" process
7# once a sufficient list for the destination has been built, and
8# the aforementioned "-qq" process once it completes the first phase.
9# We don't really want to add yet another testsuite-only option to
10# force the latter to not be done.
11# So the best we can do is check that at least some deliveries were
12# made by the daemon.
13#
14exim -DSERVER=server -bd -q30m -odd -oX PORT_D
15****
16#
17exim -bs
18mail from:ralph@dustyshoes.tld
19rcpt to:bob@anotherone.tld
20data
21This is a test message.
22It has three lines.
23This is the last line.
24.
25RSET
26mail from:ralph@dustyshoes.tld
27rcpt to:bob@anotherone.tld
28data
29Subject: message_id 1
30
31This is message number 1.
32.
33RSET
34mail from:ralph@dustyshoes.tld
35rcpt to:bob@anotherone.tld
36data
37Subject: message_id 2
38
39This is message number 2.
40.
41RSET
42mail from:ralph@dustyshoes.tld
43rcpt to:bob@anotherone.tld
44data
45Subject: message_id 3
46
47This is message number 3.
48.
49RSET
50mail from:ralph@dustyshoes.tld
51rcpt to:bob@anotherone.tld
52data
53Subject: message_id 4
54
55This is message number 4.
56.
57RSET
58mail from:ralph@dustyshoes.tld
59rcpt to:bob@anotherone.tld
60data
61Subject: message_id 5
62
63This is message number 5.
64.
65RSET
66mail from:ralph@dustyshoes.tld
67rcpt to:bob@anotherone.tld
68data
69Subject: message_id 6
70
71This is message number 6.
72.
73RSET
74mail from:ralph@dustyshoes.tld
75rcpt to:bob@anotherone.tld
76data
77Subject: message_id 7
78
79This is message number 7.
80.
81RSET
82mail from:ralph@dustyshoes.tld
83rcpt to:bob@anotherone.tld
84data
85Subject: message_id 8
86
87This is message number 8.
88.
89RSET
90mail from:ralph@dustyshoes.tld
91rcpt to:bob@anotherone.tld
92data
93Subject: message_id 9
94
95This is message number 9.
96.
97RSET
98mail from:ralph@dustyshoes.tld
99rcpt to:bob@anotherone.tld
100data
101Subject: message_id 10
102
103This is message number 10.
104.
105RSET
106mail from:ralph@dustyshoes.tld
107rcpt to:bob@anotherone.tld
108data
109Subject: message_id 11
110
111This is message number 11.
112.
113RSET
114mail from:ralph@dustyshoes.tld
115rcpt to:bob@anotherone.tld
116data
117Subject: message_id 12
118
119This is message number 12.
120.
121RSET
122mail from:ralph@dustyshoes.tld
123rcpt to:bob@anotherone.tld
124data
125Subject: message_id 13
126
127This is message number 13.
128.
129RSET
130mail from:ralph@dustyshoes.tld
131rcpt to:bob@anotherone.tld
132data
133Subject: message_id 14
134
135This is message number 14.
136.
137RSET
138mail from:ralph@dustyshoes.tld
139rcpt to:bob@anotherone.tld
140data
141Subject: message_id 15
142
143This is message number 15.
144.
145RSET
146mail from:ralph@dustyshoes.tld
147rcpt to:bob@anotherone.tld
148data
149Subject: message_id 16
150
151This is message number 16.
152.
153RSET
154mail from:ralph@dustyshoes.tld
155rcpt to:bob@anotherone.tld
156data
157Subject: message_id 17
158
159This is message number 17.
160.
161RSET
162mail from:ralph@dustyshoes.tld
163rcpt to:bob@anotherone.tld
164data
165Subject: message_id 18
166
167This is message number 18.
168.
169RSET
170mail from:ralph@dustyshoes.tld
171rcpt to:bob@anotherone.tld
172data
173Subject: message_id 19
174
175This is message number 19.
176.
177RSET
178mail from:ralph@dustyshoes.tld
179rcpt to:bob@anotherone.tld
180data
181Subject: message_id 20
182
183This is message number 20.
184.
185RSET
186mail from:ralph@dustyshoes.tld
187rcpt to:bob@anotherone.tld
188data
189Subject: message_id 21
190
191This is message number 21.
192.
193RSET
194mail from:ralph@dustyshoes.tld
195rcpt to:bob@anotherone.tld
196data
197Subject: message_id 22
198
199This is message number 22.
200.
201RSET
202mail from:ralph@dustyshoes.tld
203rcpt to:bob@anotherone.tld
204data
205Subject: message_id 23
206
207This is message number 23.
208.
209RSET
210mail from:ralph@dustyshoes.tld
211rcpt to:bob@anotherone.tld
212data
213Subject: message_id 24
214
215This is message number 24.
216.
217RSET
218mail from:ralph@dustyshoes.tld
219rcpt to:bob@anotherone.tld
220data
221Subject: message_id 25
222
223This is message number 25.
224.
225RSET
226mail from:ralph@dustyshoes.tld
227rcpt to:bob@anotherone.tld
228data
229Subject: message_id 26
230
231This is message number 26.
232.
233RSET
234mail from:ralph@dustyshoes.tld
235rcpt to:bob@anotherone.tld
236data
237Subject: message_id 27
238
239This is message number 27.
240.
241RSET
242mail from:ralph@dustyshoes.tld
243rcpt to:bob@anotherone.tld
244data
245Subject: message_id 28
246
247This is message number 28.
248.
249RSET
250mail from:ralph@dustyshoes.tld
251rcpt to:bob@anotherone.tld
252data
253Subject: message_id 29
254
255This is message number 29.
256.
257RSET
258mail from:ralph@dustyshoes.tld
259rcpt to:bob@anotherone.tld
260data
261Subject: message_id 30
262
263This is message number 30.
264.
265RSET
266mail from:ralph@dustyshoes.tld
267rcpt to:bob@anotherone.tld
268data
269Subject: message_id 31
270
271This is message number 31.
272.
273RSET
274mail from:ralph@dustyshoes.tld
275rcpt to:bob@anotherone.tld
276data
277Subject: message_id 32
278
279This is message number 32.
280.
281RSET
282mail from:ralph@dustyshoes.tld
283rcpt to:bob@anotherone.tld
284data
285Subject: message_id 33
286
287This is message number 33.
288.
289RSET
290mail from:ralph@dustyshoes.tld
291rcpt to:bob@anotherone.tld
292data
293Subject: message_id 34
294
295This is message number 34.
296.
297RSET
298mail from:ralph@dustyshoes.tld
299rcpt to:bob@anotherone.tld
300data
301Subject: message_id 35
302
303This is message number 35.
304.
305RSET
306mail from:ralph@dustyshoes.tld
307rcpt to:bob@anotherone.tld
308data
309Subject: message_id 36
310
311This is message number 36.
312.
313RSET
314mail from:ralph@dustyshoes.tld
315rcpt to:bob@anotherone.tld
316data
317Subject: message_id 37
318
319This is message number 37.
320.
321RSET
322mail from:ralph@dustyshoes.tld
323rcpt to:bob@anotherone.tld
324data
325Subject: message_id 38
326
327This is message number 38.
328.
329RSET
330mail from:ralph@dustyshoes.tld
331rcpt to:bob@anotherone.tld
332data
333Subject: message_id 39
334
335This is message number 39.
336.
337RSET
338mail from:ralph@dustyshoes.tld
339rcpt to:bob@anotherone.tld
340data
341Subject: message_id 40
342
343This is message number 40.
344.
345RSET
346mail from:ralph@dustyshoes.tld
347rcpt to:bob@anotherone.tld
348data
349Subject: message_id 41
350
351This is message number 41.
352.
353RSET
354mail from:ralph@dustyshoes.tld
355rcpt to:bob@anotherone.tld
356data
357Subject: message_id 42
358
359This is message number 42.
360.
361RSET
362mail from:ralph@dustyshoes.tld
363rcpt to:bob@anotherone.tld
364data
365Subject: message_id 43
366
367This is message number 43.
368.
369RSET
370mail from:ralph@dustyshoes.tld
371rcpt to:bob@anotherone.tld
372data
373Subject: message_id 44
374
375This is message number 44.
376.
377RSET
378mail from:ralph@dustyshoes.tld
379rcpt to:bob@anotherone.tld
380data
381Subject: message_id 45
382
383This is message number 45.
384.
385RSET
386mail from:ralph@dustyshoes.tld
387rcpt to:bob@anotherone.tld
388data
389Subject: message_id 46
390
391This is message number 46.
392.
393RSET
394mail from:ralph@dustyshoes.tld
395rcpt to:bob@anotherone.tld
396data
397Subject: message_id 47
398
399This is message number 47.
400.
401RSET
402mail from:ralph@dustyshoes.tld
403rcpt to:bob@anotherone.tld
404data
405Subject: message_id 48
406
407This is message number 48.
408.
409RSET
410mail from:ralph@dustyshoes.tld
411rcpt to:bob@anotherone.tld
412data
413Subject: message_id 49
414
415This is message number 49.
416.
417RSET
418mail from:ralph@dustyshoes.tld
419rcpt to:bob@anotherone.tld
420data
421Subject: message_id 50
422
423This is message number 50.
424.
425RSET
426mail from:ralph@dustyshoes.tld
427rcpt to:bob@anotherone.tld
428data
429Subject: message_id 51
430
431This is message number 51.
432.
433RSET
434mail from:ralph@dustyshoes.tld
435rcpt to:bob@anotherone.tld
436data
437Subject: message_id 52
438
439This is message number 52.
440.
441RSET
442mail from:ralph@dustyshoes.tld
443rcpt to:bob@anotherone.tld
444data
445Subject: message_id 53
446
447This is message number 53.
448.
449RSET
450mail from:ralph@dustyshoes.tld
451rcpt to:bob@anotherone.tld
452data
453Subject: message_id 54
454
455This is message number 54.
456.
457RSET
458mail from:ralph@dustyshoes.tld
459rcpt to:bob@anotherone.tld
460data
461Subject: message_id 55
462
463This is message number 55.
464.
465RSET
466mail from:ralph@dustyshoes.tld
467rcpt to:bob@anotherone.tld
468data
469Subject: message_id 56
470
471This is message number 56.
472.
473RSET
474mail from:ralph@dustyshoes.tld
475rcpt to:bob@anotherone.tld
476data
477Subject: message_id 57
478
479This is message number 57.
480.
481RSET
482mail from:ralph@dustyshoes.tld
483rcpt to:bob@anotherone.tld
484data
485Subject: message_id 58
486
487This is message number 58.
488.
489RSET
490mail from:ralph@dustyshoes.tld
491rcpt to:bob@anotherone.tld
492data
493Subject: message_id 59
494
495This is message number 59.
496.
497RSET
498mail from:ralph@dustyshoes.tld
499rcpt to:bob@anotherone.tld
500data
501Subject: message_id 60
502
503This is message number 60.
504.
505RSET
506mail from:ralph@dustyshoes.tld
507rcpt to:bob@anotherone.tld
508data
509Subject: message_id 61
510
511This is message number 61.
512.
513RSET
514mail from:ralph@dustyshoes.tld
515rcpt to:bob@anotherone.tld
516data
517Subject: message_id 62
518
519This is message number 62.
520.
521RSET
522mail from:ralph@dustyshoes.tld
523rcpt to:bob@anotherone.tld
524data
525Subject: message_id 63
526
527This is message number 63.
528.
529RSET
530mail from:ralph@dustyshoes.tld
531rcpt to:bob@anotherone.tld
532data
533Subject: message_id 64
534
535This is message number 64.
536.
537RSET
538mail from:ralph@dustyshoes.tld
539rcpt to:bob@anotherone.tld
540data
541Subject: message_id 65
542
543This is message number 65.
544.
545RSET
546mail from:ralph@dustyshoes.tld
547rcpt to:bob@anotherone.tld
548data
549Subject: message_id 66
550
551This is message number 66.
552.
553RSET
554mail from:ralph@dustyshoes.tld
555rcpt to:bob@anotherone.tld
556data
557Subject: message_id 67
558
559This is message number 67.
560.
561RSET
562mail from:ralph@dustyshoes.tld
563rcpt to:bob@anotherone.tld
564data
565Subject: message_id 68
566
567This is message number 68.
568.
569RSET
570mail from:ralph@dustyshoes.tld
571rcpt to:bob@anotherone.tld
572data
573Subject: message_id 69
574
575This is message number 69.
576.
577RSET
578mail from:ralph@dustyshoes.tld
579rcpt to:bob@anotherone.tld
580data
581Subject: message_id 70
582
583This is message number 70.
584.
585RSET
586mail from:ralph@dustyshoes.tld
587rcpt to:bob@anotherone.tld
588data
589Subject: message_id 71
590
591This is message number 71.
592.
593RSET
594mail from:ralph@dustyshoes.tld
595rcpt to:bob@anotherone.tld
596data
597Subject: message_id 72
598
599This is message number 72.
600.
601RSET
602mail from:ralph@dustyshoes.tld
603rcpt to:bob@anotherone.tld
604data
605Subject: message_id 73
606
607This is message number 73.
608.
609RSET
610mail from:ralph@dustyshoes.tld
611rcpt to:bob@anotherone.tld
612data
613Subject: message_id 74
614
615This is message number 74.
616.
617RSET
618mail from:ralph@dustyshoes.tld
619rcpt to:bob@anotherone.tld
620data
621Subject: message_id 75
622
623This is message number 75.
624.
625RSET
626mail from:ralph@dustyshoes.tld
627rcpt to:bob@anotherone.tld
628data
629Subject: message_id 76
630
631This is message number 76.
632.
633RSET
634mail from:ralph@dustyshoes.tld
635rcpt to:bob@anotherone.tld
636data
637Subject: message_id 77
638
639This is message number 77.
640.
641RSET
642mail from:ralph@dustyshoes.tld
643rcpt to:bob@anotherone.tld
644data
645Subject: message_id 78
646
647This is message number 78.
648.
649RSET
650mail from:ralph@dustyshoes.tld
651rcpt to:bob@anotherone.tld
652data
653Subject: message_id 79
654
655This is message number 79.
656.
657RSET
658mail from:ralph@dustyshoes.tld
659rcpt to:bob@anotherone.tld
660data
661Subject: message_id 80
662
663This is message number 80.
664.
665quit
666****
667#
668#
669exim -odd -qq
670****
671#
672#
673killdaemon
674#
675# Only check that we logged the right number of messages; don't care
676# about ordering or mistakes in wrong message-id
677sudo perl
ecf05143 678system "egrep -v '(Completed|<=|=>|is locked)' DIR/spool/log/mainlog 1>&2";
48a74eea 679system "awk '/OK id=/{i++} END{print i, \"messages in\"}' DIR/test-stdout 1>&2";
ff966302 680system "grep -q '=>' DIR/spool/log/servermainlog && echo 'daemon did make at least one delivery' 1>&2";
48a74eea 681system "awk '/<=/{i++} END{print i, \"messages received by dest\"}' DIR/spool/log/servermainlog 1>&2";
ff966302
JH
682****
683sudo rm DIR/spool/log/mainlog DIR/spool/log/servermainlog
684no_stdout_check
685no_msglog_check