git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a769a50
)
Testsuite: also handle -XX in version
author
Phil Pennock
<pdp@exim.org>
Mon, 10 Oct 2011 03:53:48 +0000
(23:53 -0400)
committer
Phil Pennock
<pdp@exim.org>
Mon, 10 Oct 2011 03:53:48 +0000
(23:53 -0400)
test/patchexim
patch
|
blob
|
history
diff --git
a/test/patchexim
b/test/patchexim
index 91bf98a42b10f4afc702979a20f5cb15c288e658..d3f39bc73f13e2248c20b356775eed29f8c5d098 100755
(executable)
--- 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>>>/;
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;
}
print OUT;
}