[exim-cvs] Testsuite: Compiler info skip; whitespace stupidi…

Página Inicial
Delete this message
Reply to this message
Autor: Exim Git Commits Mailing List
Data:  
Para: exim-cvs
Assunto: [exim-cvs] Testsuite: Compiler info skip; whitespace stupidity.
Gitweb: http://git.exim.org/exim.git/commitdiff/bdf1527974ee0faf5ac41c4554a89d161b6249e1
Commit:     bdf1527974ee0faf5ac41c4554a89d161b6249e1
Parent:     6ea4a8515023997aeb674688d2247bbabfa58aa1
Author:     Phil Pennock <pdp@???>
AuthorDate: Mon May 9 04:36:25 2011 -0400
Committer:  Phil Pennock <pdp@???>
CommitDate: Mon May 9 04:36:25 2011 -0400


    Testsuite: Compiler info skip; whitespace stupidity.
---
 test/runtest                 |    3 +++
 test/scripts/0000-Basic/0002 |    4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)


diff --git a/test/runtest b/test/runtest
index feca75e..ea05524 100755
--- a/test/runtest
+++ b/test/runtest
@@ -742,6 +742,9 @@ RESET_AFTER_EXTRA_LINE_READ:
     next if /^Lookups \(built-in\):/;
     next if /^Total \d+ lookups/;


+    # drop compiler information
+    next if /^Compiler:/;
+
     # and the ugly bit
     # different libraries will have different numbers (possibly 0) of follow-up
     # lines, indenting with more data
diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002
index 625050c..01ba6d9 100644
--- a/test/scripts/0000-Basic/0002
+++ b/test/scripts/0000-Basic/0002
@@ -552,7 +552,7 @@ abcdea abc z   ${tr{abcdea}{abc}{z}}
 " text "              ${if bool{ text }{true}{false}}     EXPECT: error
 "00"                  ${if bool{00}{true}{false}}     EXPECT: false
 "!true"               ${if !bool{true}{true}{false}}     EXPECT: false
-"!false"              ${if !bool{false}{true}{false}}     EXPECT: true
+"!false"              ${if !bool{false}{true}{false}}      EXPECT: true


 "TrUe"                ${if bool_lax{TrUe}{true}{false}}      EXPECT: true
 "FALSE"               ${if bool_lax{FALSE}{true}{false}}     EXPECT: false
@@ -572,7 +572,7 @@ abcdea abc z   ${tr{abcdea}{abc}{z}}
 "text "               ${if bool_lax{text }{true}{false}}      EXPECT: true
 " text "              ${if bool_lax{ text }{true}{false}}      EXPECT: true
 "00"                  ${if bool_lax{00}{true}{false}}      EXPECT: true
-"!true"               ${if !bool_lax{true}{true}{false}}      EXPECT: false
+"!true"               ${if !bool_lax{true}{true}{false}}     EXPECT: false
 "!false"              ${if !bool_lax{false}{true}{false}}      EXPECT: true


# RFC 2047