Testsuite: account for 4-component version numbers
authorJeremy Harris <jgh146exb@wizmail.org>
Tue, 17 Dec 2019 19:04:00 +0000 (19:04 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Tue, 17 Dec 2019 19:11:15 +0000 (19:11 +0000)
test/patchexim

index cb9f98825102d06cee8eba8b69e886bc1ed2af78..c2983e4d0b742cb449fbe0fe5cf53fe24196690f 100755 (executable)
@@ -21,6 +21,7 @@ while(<IN>)
   s/>>>running<<</<<<testing>>>/;
   s{
     (\d+\.\d+                         # major.minor
   s/>>>running<<</<<<testing>>>/;
   s{
     (\d+\.\d+                         # major.minor
+    (?:[_.]\d+)?                      # optional security-patchlevel
     (?:[_.]\d+)?                      # optional patchlevel
     (?:[_-]RC\d+|[_-]?dev(?:start)?)? # optional RC or dev(start)
     (?:(?:[_-]\d+)?                   # git tag distance
     (?:[_.]\d+)?                      # optional patchlevel
     (?:[_-]RC\d+|[_-]?dev(?:start)?)? # optional RC or dev(start)
     (?:(?:[_-]\d+)?                   # git tag distance