Testsuite: Make patchexim work with dirty tag checkouts
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Wed, 18 Jan 2017 21:33:51 +0000 (22:33 +0100)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Fri, 20 Jan 2017 17:28:45 +0000 (18:28 +0100)
test/patchexim

index 9659ba133cecd443e3ef5ac101d7dc544c3f5979..7bd84d49d2bf5c82a9aaed7b5aada4f40825c04e 100755 (executable)
@@ -19,7 +19,7 @@ open(OUT, '>eximdir/exim') || die "** Failed to open eximdir/exim: $!\n";
 while(<IN>)
   {
   s/>>>running<<</<<<testing>>>/;
-  s/(\d+\.\d+(?:[_.]\d+)?([_-]RC\d+|[_-]dev)?(?:[0-9a-fA-F-]*)(?:-XX)?\0<<eximversion>>)/"x.yz\0" . ("*" x (length($1) - 5))/e;
+  s/(\d+\.\d+(?:[_.]\d+)?([_-]RC\d+|[_-]dev)?(?:[0-9a-fA-F-]*)(?:[-_]XX)?\0<<eximversion>>)/"x.yz\0" . ("*" x (length($1) - 5))/e;
   print OUT;
   }