From: Jeremy Harris Date: Fri, 1 May 2020 11:47:25 +0000 (+0100) Subject: Testsuite: handle RC tagging convention X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/e434e6743ac97c28b7d2b6d43f564eceb5450697 Testsuite: handle RC tagging convention --- diff --git a/test/patchexim b/test/patchexim index c2983e4d0..2a4077820 100755 --- a/test/patchexim +++ b/test/patchexim @@ -20,7 +20,7 @@ while() { s/>>>running<<>>/; s{ - (\d+\.\d+ # major.minor + (\d+[_.]\d+ # major.minor (?:[_.]\d+)? # optional security-patchlevel (?:[_.]\d+)? # optional patchlevel (?:[_-]RC\d+|[_-]?dev(?:start)?)? # optional RC or dev(start) diff --git a/test/runtest b/test/runtest index c7ba26ac9..c73ad4101 100755 --- a/test/runtest +++ b/test/runtest @@ -404,7 +404,7 @@ RESET_AFTER_EXTRA_LINE_READ: # Replace the Exim version number (may appear in various places) # patchexim should have fixed this for us - #s/(Exim) \d+\.\d+[\w_-]*/$1 x.yz/i; + #s/Exim \K\d+[._]\d+[\w_-]*/x.yz/i; # Replace Exim message ids by a unique series s/((?:[^\W_]{6}-){2}[^\W_]{2})