Update tests for 4.68 (after testing on tahini). exim-4_68
authorPhilip Hazel <ph10@hermes.cam.ac.uk>
Thu, 30 Aug 2007 13:35:29 +0000 (13:35 +0000)
committerPhilip Hazel <ph10@hermes.cam.ac.uk>
Thu, 30 Aug 2007 13:35:29 +0000 (13:35 +0000)
13 files changed:
test/confs/0206
test/confs/0256
test/confs/0461
test/log/0256
test/mail/0256.abcd+test.ex+xxxx [moved from test/mail/0256.abcd+test.ex+ph10 with 100% similarity]
test/runtest
test/scripts/0000-Basic/0206
test/scripts/0000-Basic/0333
test/scripts/0000-Basic/0374
test/scripts/0000-Basic/0461
test/scripts/0000-Basic/0542
test/scripts/0000-Basic/0553
test/stdout/0542

index d6621a4..ca3b96e 100644 (file)
@@ -13,7 +13,7 @@ gecos_name = CALLER_NAME
 # ----- Main settings -----
 
 ignore_bounce_errors_after = 2s
-timeout_frozen_after = 4s
+timeout_frozen_after = 5s
 queue_run_in_order
 
 
index 99faa1d..d17ee8d 100644 (file)
@@ -13,7 +13,8 @@ gecos_name = CALLER_NAME
 
 acl_smtp_rcpt = accept
 qualify_domain = test.ex
-errors_copy = *@* ${quote_local_part::abcd+$domain+$local_part}@test.ex
+errors_copy = *@* ${quote_local_part::abcd+$domain+\
+  ${if eq{$local_part}{CALLER}{xxxx}{$local_part}}}@test.ex
 trusted_users = CALLER
 
 
index 3a89072..5b51101 100644 (file)
@@ -2,6 +2,8 @@
 
 FALLBACK=fallback_hosts = 127.0.0.1
 ROUTE_DATA=V4NET.0.0.1
+RETRY1=1s
+RETRY2=2s
 
 exim_path = EXIM_PATH
 host_lookup_order = bydns
@@ -53,8 +55,8 @@ t2:
 
 begin retry
 
-V4NET.0.0.1  * F,1s,1s
-V4NET.0.0.2  * F,1s,2s
+V4NET.0.0.1  * F,1s,RETRY1
+V4NET.0.0.2  * F,1s,RETRY2
 *            * F,1d,1s
 
 
index c04aedc..b6c2ce1 100644 (file)
@@ -2,7 +2,7 @@
 1999-03-02 09:44:33 10HmaX-0005vi-00 ** unknown@test.ex: Unrouteable address
 1999-03-02 09:44:33 10HmaY-0005vi-00 <= <> R=10HmaX-0005vi-00 U=EXIMUSER P=local S=sss
 1999-03-02 09:44:33 10HmaY-0005vi-00 => CALLER <CALLER@test.ex> R=r1 T=t1
-1999-03-02 09:44:33 10HmaY-0005vi-00 => abcd+test.ex+CALLER <abcd+test.ex+CALLER@test.ex> R=r1 T=t1
+1999-03-02 09:44:33 10HmaY-0005vi-00 => abcd+test.ex+xxxx <abcd+test.ex+xxxx@test.ex> R=r1 T=t1
 1999-03-02 09:44:33 10HmaY-0005vi-00 Completed
 1999-03-02 09:44:33 10HmaX-0005vi-00 Completed
 1999-03-02 09:44:33 10HmaZ-0005vi-00 <= "abc@def"@unknown.domain U=CALLER P=local-smtp S=sss
index 77fe17a..dab23ac 100755 (executable)
@@ -1,6 +1,6 @@
 #! /usr/bin/perl -w
 
-# $Cambridge: exim/test/runtest,v 1.29 2007/08/29 15:06:47 ph10 Exp $
+# $Cambridge: exim/test/runtest,v 1.30 2007/08/30 13:35:29 ph10 Exp $
 
 ###############################################################################
 # This is the controlling script for the "new" test suite for Exim. It should #
@@ -339,6 +339,9 @@ while(<IN>)
   s/^\d+:error:/pppp:error:/;
   s/:(?:\/[^\s:]+\/)?([^\/\s]+\.c):\d+:/:$1:dddd:/;
 
+  # There are differences in error messages between OpenSSL versions
+  s/SSL_CTX_set_cipher_list/SSL_connect/;
+
   # One error test in expansions mentions base 62 or 36
   s/is not a base (36|62) number/is not a base 36\/62 number/;
 
index baf8571..6f9968f 100644 (file)
@@ -1,12 +1,12 @@
 # timeout_frozen_after with ignore_bounce_errors_after
 sudo exim -odi -f unknown@test.ex nonexist@test.ex freeze@test.ex
 ****
-sleep 2
+sleep 1
 sudo exim -Mf $msg1
 ****
 exim -qf
 ****
-sleep 2
+sleep 3
 exim -q
 ****
 no_msglog_check
index 1cb3de2..92d927e 100644 (file)
@@ -34,4 +34,4 @@ QUIT
 ****
 exim -d-all+route -M $msg1 
 ****
-millisleep 100
+millisleep 500
index 2bde683..810efbd 100644 (file)
@@ -1,7 +1,7 @@
 # unseen without disable_logging and errors_to = ""
 need_ipv4
 #
-server PORT_S 3
+server -t 10 PORT_S 3
 220
 EHLO
 220 OK
index 0d89ec1..04c1911 100644 (file)
@@ -54,7 +54,7 @@ DATA
 QUIT
 221 OK
 ****
-exim -odi userx@test.ex
+exim -DRETRY1=5s -odi userx@test.ex
 Short message
 ****
 exim -DFALLBACK= -odi userx@test.ex
@@ -64,7 +64,7 @@ exim -DFALLBACK= -DROUTE_DATA=V4NET.0.0.2 -odi userx@test.ex
 Short message
 ****
 sleep 3
-exim -DFALLBACK= -DROUTE_DATA=V4NET.0.0.2 -q
+exim -DFALLBACK= -DROUTE_DATA=V4NET.0.0.2 -DRETRY2=5s -q
 ****
 exim -DFALLBACK= -DROUTE_DATA=V4NET.0.0.2 -odi userx@test.ex
 Short message
index 6b14852..0c6362b 100644 (file)
@@ -10,7 +10,6 @@ sudo exim -be -Mset $msg1
 From: $h_from:
 Subject: $h_subject:
 message_body_size=$message_body_size
-message_size=$message_size
 message_id=$message_id
 message_exim_id=$message_exim_id
 max_received_linelength=$max_received_linelength
@@ -33,7 +32,6 @@ sudo exim -be -Mset $msg2
 From: $h_from:
 Subject: $h_subject:
 message_body_size=$message_body_size
-message_size=$message_size
 message_id=$message_id
 message_exim_id=$message_exim_id
 max_received_linelength=$max_received_linelength
@@ -51,7 +49,6 @@ exim -bem DIR/test-data
 from: $h_from:
 to: $h_to:
 subject: $h_subject:
-message_size=$message_size
 message_body_size=$message_body_size
 message_exim_id=$message_exim_id
 message_linecount=$message_linecount
index 07dfb0b..6ee86a8 100644 (file)
@@ -11,6 +11,7 @@ exim -qf
 ****
 sleep 1
 killdaemon
+sleep 1
 #
 # This daemon should flush before delaying
 exim -DSERVER=server -bd -oX PORT_D
index a3cb9ef..ab29dc9 100644 (file)
@@ -1,7 +1,6 @@
 > From: Himself <himself@there.tld>
 > Subject: The subject is not the object
 > message_body_size=71
-> message_size=407
 > message_id=10HmaX-0005vi-00
 > message_exim_id=10HmaX-0005vi-00
 > max_received_linelength=70
@@ -17,7 +16,6 @@
 > From: Himself <himself@there.tld>
 > Subject: The subject is not the object
 > message_body_size=76
-> message_size=416
 > message_id=10HmaY-0005vi-00
 > message_exim_id=10HmaY-0005vi-00
 > max_received_linelength=75
@@ -26,7 +24,6 @@
 > from: A Person <a.person@a.domain.tld>
 > to: First <first@test.ex>, Second <second@test.ex>
 > subject: The subject is moot
-> message_size=197
 > message_body_size=77
 > message_exim_id=10HmaZ-0005vi-00
 > message_linecount=6