summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2011-10-09 23:53:48 -0400
committerPhil Pennock <pdp@exim.org>2011-10-09 23:53:48 -0400
commitce905061fc5b4fe76ea83f6074d2445f61c67d40 (patch)
tree72441395c6398d97b4075a9dc9eec3196964c9de /test
parenta769a5017518b850dca541f3e873fcfbc772f782 (diff)
Testsuite: also handle -XX in version
Diffstat (limited to 'test')
-rwxr-xr-xtest/patchexim2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/patchexim b/test/patchexim
index 91bf98a42..d3f39bc73 100755
--- a/test/patchexim
+++ b/test/patchexim
@@ -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;
}