[exim-cvs] Testsuite: do not use trailing spaces in runtest

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Testsuite: do not use trailing spaces in runtest
Gitweb: https://git.exim.org/exim.git/commitdiff/6ddf7fd7024ed2b78b4917f63020835a602c73f8
Commit:     6ddf7fd7024ed2b78b4917f63020835a602c73f8
Parent:     cf2f256c14527b4d8f964828f2acee8aea8aa408
Author:     Heiko Schlittermann (HS12-RIPE) <hs@???>
AuthorDate: Mon Sep 16 12:49:31 2019 +0200
Committer:  Heiko Schlittermann (HS12-RIPE) <hs@???>
CommitDate: Mon Sep 16 13:18:11 2019 +0200


    Testsuite: do not use trailing spaces in runtest


    Some editors may swallow it. Encode trailing space as \x20.
---
 test/runtest | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


diff --git a/test/runtest b/test/runtest
index aadd0f1..a672d23 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1168,7 +1168,7 @@ RESET_AFTER_EXTRA_LINE_READ:
     # are unset, because dane ain't always there.
     next if /in\shosts_require_dane\?\sno\s\(option\sunset\)/x;


-    # DISABLE_OCSP 
+    # DISABLE_OCSP
     next if /in hosts_requ(est|ire)_ocsp\? (no|yes)/;


     # SUPPORT_PROXY
@@ -1234,7 +1234,7 @@ RESET_AFTER_EXTRA_LINE_READ:


     if (/^([0-9: ]*                        # possible timestamp
     Connecting\ to\ [^ ]+\ [^ ]+(\ from\ [^ ]+)?)\ \.\.\.
-    \ .*TFO\ mode\ 
+    \ .*TFO\ mode\x20
     (sendto,\ no\ data:\ EINPROGRESS            # Linux
     |connection\ attempt\ to\ [^,]+,\ 0\ data)        # MacOS & no-support
     $/x)