[exim-dev] [Bug 1224] testsuite fails for lsearch

Página Inicial
Delete this message
Reply to this message
Autor: Git Commit
Data:  
Para: exim-dev
Assunto: [exim-dev] [Bug 1224] testsuite fails for lsearch
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1224




--- Comment #5 from Git Commit <git@???> 2012-04-19 02:17:04 ---
Git commit:
http://git.exim.org/exim.git/commitdiff/1bad4ba467f200ec1629bcd83cdaf76be5c1fe26

commit 1bad4ba467f200ec1629bcd83cdaf76be5c1fe26
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Thu Apr 19 01:52:07 2012 +0100
Commit:     Jeremy Harris <jgh146exb@???>
CommitDate: Thu Apr 19 01:52:07 2012 +0100


    Bug 1224 followon - avoid breaking other testcases.


    Add specific patterns to avoid when munging the output.
    This is fragile and may still be broken outside my specific test
environment.
---
 test/runtest |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)


diff --git a/test/runtest b/test/runtest
index ab87ab3..31aaaa9 100755
--- a/test/runtest
+++ b/test/runtest
@@ -687,8 +687,11 @@ RESET_AFTER_EXTRA_LINE_READ:
s/^\d\d\d(?=[PFS*])/ddd/;


- # Lookups have a char which depends on the number of lookup types compiled
in.
- s%(?<!lsearch)[0-?]TESTSUITE/aux-fixed/%0TESTSUITE/aux-fixed/%g;
+ # ========= Exim lookups ==================
+ # Lookups have a char which depends on the number of lookup types compiled
in,
+ # in stderr output. Replace with a "0". Recognising this while avoiding
+ # other output is fragile; perhaps the debug output should be revised
instead.
+
s%(?<!sqlite)(?<!lsearch\*@)(?<!lsearch\*)(?<!lsearch)[0-?]TESTSUITE/aux-fixed/%0TESTSUITE/aux-fixed/%g;

# ==========================================================
# Some munging is specific to the specific file types


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email