[exim-cvs] Testsuite: also handle -XX in version

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] Testsuite: also handle -XX in version
Gitweb: http://git.exim.org/exim.git/commitdiff/ce905061fc5b4fe76ea83f6074d2445f61c67d40
Commit:     ce905061fc5b4fe76ea83f6074d2445f61c67d40
Parent:     a769a5017518b850dca541f3e873fcfbc772f782
Author:     Phil Pennock <pdp@???>
AuthorDate: Sun Oct 9 23:53:48 2011 -0400
Committer:  Phil Pennock <pdp@???>
CommitDate: Sun Oct 9 23:53:48 2011 -0400


    Testsuite: also handle -XX in version
---
 test/patchexim |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/test/patchexim b/test/patchexim
index 91bf98a..d3f39bc 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;
}