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 d6621a43f6a6a00874e7668746668358e2b9cebc..ca3b96eb78aafa6f888cc39e26124460a1bbfebe 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 99faa1d766f2571c929be91f014dd56d4231e77f..d17ee8d9f9aeb526ef4f7824629fcbd40dfec625 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 3a890726508e12f7a08bd4332411ca963a1bdd6c..5b511010422358b8c78d3fe8e6b948c002988a89 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 c04aedc55fe432007b5cc8654a72cb9b724127fa..b6c2ce1cb7e9a3b939cf032a32bd0c6b5a7c6368 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 77fe17a1329ca12c69f03b40e87ca7e3a851d01b..dab23acec4946d23d5f40d6e28c2e39c7b7a8d38 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 baf8571efd0720830b112f4cb1dd471a6255c3d1..6f9968f9686a8075acb7c3858cdf05d81fbf9169 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 1cb3de2e7bbcec3ec51ce1241a8937e0935424cf..92d927e4d1e65b286c24442fa6f53f179e3d9ec3 100644 (file)
@@ -34,4 +34,4 @@ QUIT
 ****
 exim -d-all+route -M $msg1 
 ****
-millisleep 100
+millisleep 500
index 2bde683387b2cb584ecbbd09b89fdd1d94562523..810efbda5a59cc15bc0d184a1dfb0e38904718df 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 0d89ec1dc07c05ebb99eb827667ff0c8fb6d2453..04c1911ed0d1f67dc14a0345fde3b0930f0515e0 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 6b14852b58898bef89077b87179765714ecafe44..0c6362bded3f06f0fb1957deac668500d91df226 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 07dfb0bed606587726750812a8ce0d0bc6422b62..6ee86a82e991c86fc7d4109fe69f18a5b65e6452 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 a3cb9ef5fc69a600a645a8ad8842c30e5eebb0c3..ab29dc9c0cff36a3e81061c475e52127a06f60b4 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