TFO: even in binary built for modern Linux, handle error returned by old Linux kernel...
[users/jgh/exim.git] / test / patchexim
index cb9f98825102d06cee8eba8b69e886bc1ed2af78..c2983e4d0b742cb449fbe0fe5cf53fe24196690f 100755 (executable)
@@ -21,6 +21,7 @@ while(<IN>)
   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