[exim-dev] [Bug 3009] New: New error in runtest

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Bugzilla
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] [Bug 3009] New: New error in runtest
https://bugs.exim.org/show_bug.cgi?id=3009

            Bug ID: 3009
           Summary: New error in runtest
           Product: Exim
           Version: N/A
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Test harness
          Assignee: unallocated@???
          Reporter: exim@???
                CC: exim-dev@???


A recent update (git diff below) to the test script test/runtest now reports a
potential bug as its first output line (at least on Ubuntu 23.04 Lunar
Lobster):

Possible unintended interpolation of @test in string at ./runtest line 1075.

git diff
9e4a64fd7c67f4a838ca588ee62c81227bdee9f2..46a36afae41f63de654269c8a0b7cf5852a85a14
te$
@@ -1062,6 +1067,10 @@ RESET_AFTER_EXTRA_LINE_READ:

     # gsasl library version may not support some methods
     s/250-AUTH ANONYMOUS PLAIN SCRAM-SHA-1\K SCRAM-SHA-256//;
+
+    # mailq times change with when the run is done, vs. static-source
spoolfiles
+    #s/\s*\d*[hd](?=   317 [0-9A-Za-z\-]{23} <nobody@???>)/DDd/;
+    s/^\s*\d*[hd](?=   317 [0-9A-Za-z\-]{23} <nobody@test.)/DDd/;
     }


# ======== stderr ========


Escaping the '@' seems to remove the warning:
-    s/^\s*\d*[hd](?=   317 [0-9A-Za-z\-]{23} <nobody@test.)/DDd/;
+    s/^\s*\d*[hd](?=   317 [0-9A-Za-z\-]{23} <nobody\@test.)/DDd/;


--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/