Testsuite: also handle -XX in version
authorPhil Pennock <pdp@exim.org>
Mon, 10 Oct 2011 03:53:48 +0000 (23:53 -0400)
committerPhil Pennock <pdp@exim.org>
Mon, 10 Oct 2011 03:53:48 +0000 (23:53 -0400)
test/patchexim

index 91bf98a42b10f4afc702979a20f5cb15c288e658..d3f39bc73f13e2248c20b356775eed29f8c5d098 100755 (executable)
@@ -16,7 +16,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-]*)\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;
   }