From c99b02de6c9788335fd4ea1da063248f0265ad91 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 15 Mar 2016 19:16:14 +0000 Subject: Utilites: fix exim_lock Unaccountable fails to lock, seen in testsuite Fix appeared when tidying a Coverity "unchecked returncode" fault --- test/confs/0137 | 1 + test/log/0137 | 8 ++++---- test/mail/0137.userx | 4 ++++ test/scripts/0000-Basic/0137 | 4 ++++ 4 files changed, 13 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/confs/0137 b/test/confs/0137 index b40c83c15..b36a701c2 100644 --- a/test/confs/0137 +++ b/test/confs/0137 @@ -11,6 +11,7 @@ tls_advertise_hosts = # ----- Main settings ----- +log_selector = +subject domainlist local_domains = test.ex qualify_domain = test.ex diff --git a/test/log/0137 b/test/log/0137 index f963fb216..30ee4cdd5 100644 --- a/test/log/0137 +++ b/test/log/0137 @@ -1,19 +1,19 @@ -1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss T="First" 1999-03-02 09:44:33 10HmaX-0005vi-00 => userx R=smart T=local_delivery 1999-03-02 09:44:33 10HmaX-0005vi-00 Completed -1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss T="Second" 1999-03-02 09:44:33 10HmaY-0005vi-00 == userx@test.ex R=smart T=local_delivery defer (-9): failed to lock mailbox TESTSUITE/test-mail/userx (lock file) 1999-03-02 09:44:33 Start queue run: pid=pppp -qf 1999-03-02 09:44:33 10HmaY-0005vi-00 => userx R=smart T=local_delivery 1999-03-02 09:44:33 10HmaY-0005vi-00 Completed 1999-03-02 09:44:33 End queue run: pid=pppp -qf -1999-03-02 09:44:33 10HmaZ-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmaZ-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss T="Third" 1999-03-02 09:44:33 10HmaZ-0005vi-00 == userx@test.ex R=smart T=local_delivery_fcntl defer (-9): failed to lock mailbox TESTSUITE/test-mail/userx (fcntl/flock) 1999-03-02 09:44:33 Start queue run: pid=pppp -qf 1999-03-02 09:44:33 10HmaZ-0005vi-00 => userx R=smart T=local_delivery_fcntl 1999-03-02 09:44:33 10HmaZ-0005vi-00 Completed 1999-03-02 09:44:33 End queue run: pid=pppp -qf -1999-03-02 09:44:33 10HmbA-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmbA-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss T="Fourth" 1999-03-02 09:44:33 10HmbA-0005vi-00 == userx@test.ex R=smart T=local_delivery_fcntl_blocking defer (-9): failed to lock mailbox TESTSUITE/test-mail/userx (fcntl/flock) 1999-03-02 09:44:33 Start queue run: pid=pppp -qf 1999-03-02 09:44:33 10HmbA-0005vi-00 => userx R=smart T=local_delivery_fcntl_blocking diff --git a/test/mail/0137.userx b/test/mail/0137.userx index 7dd068d10..c44698254 100644 --- a/test/mail/0137.userx +++ b/test/mail/0137.userx @@ -3,6 +3,7 @@ Received: from CALLER by the.local.host.name with local (Exim x.yz) (envelope-from ) id 10HmaX-0005vi-00 for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +Subject: First Transport: local_delivery Message-Id: From: CALLER_NAME @@ -15,6 +16,7 @@ Received: from CALLER by the.local.host.name with local (Exim x.yz) (envelope-from ) id 10HmaY-0005vi-00 for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +Subject: Second Transport: local_delivery Message-Id: From: CALLER_NAME @@ -27,6 +29,7 @@ Received: from CALLER by the.local.host.name with local (Exim x.yz) (envelope-from ) id 10HmaZ-0005vi-00 for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +Subject: Third Transport: local_delivery_fcntl Message-Id: From: CALLER_NAME @@ -39,6 +42,7 @@ Received: from CALLER by the.local.host.name with local (Exim x.yz) (envelope-from ) id 10HmbA-0005vi-00 for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +Subject: Fourth Transport: local_delivery_fcntl_blocking Message-Id: From: CALLER_NAME diff --git a/test/scripts/0000-Basic/0137 b/test/scripts/0000-Basic/0137 index 0335afe57..56941941f 100644 --- a/test/scripts/0000-Basic/0137 +++ b/test/scripts/0000-Basic/0137 @@ -1,10 +1,12 @@ # mailbox locking exim -odi userx +Subject: First Transport: local_delivery First message. **** exim_lock -v test-mail/userx exim -odi userx +Subject: Second Transport: local_delivery Second message **** @@ -12,6 +14,7 @@ exim -qf **** exim_lock -v -fcntl test-mail/userx exim -odi userx +Subject: Third Transport: local_delivery_fcntl Third message **** @@ -19,6 +22,7 @@ exim -qf **** exim_lock -v -fcntl test-mail/userx exim -odi userx +Subject: Fourth Transport: local_delivery_fcntl_blocking Fourth message **** -- cgit v1.2.3