Testsuite: enable micro-release patchlevel
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Mon, 5 Feb 2018 22:40:08 +0000 (23:40 +0100)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Thu, 8 Feb 2018 10:58:09 +0000 (11:58 +0100)
test/patchexim

index cb9f98825102d06cee8eba8b69e886bc1ed2af78..f674c703bb5e109c74cf95854dcf41db0919342b 100755 (executable)
@@ -22,7 +22,7 @@ while(<IN>)
   s{
     (\d+\.\d+                         # major.minor
     (?:[_.]\d+)?                      # optional patchlevel
-    (?:[_-]RC\d+|[_-]?dev(?:start)?)? # optional RC or dev(start)
+    (?:\.\d+|[_-]RC\d+|[_-]?dev(?:start)?)? # optional microrelease, or RC, or dev(start)
     (?:(?:[_-]\d+)?                   # git tag distance
        [-_][[:xdigit:]]+)?            # git id
     (?:[-_]XX)?\0                     # git dirty bit