DKIM: enforce limit of 20 on received DKIM-Signature: headers. Bug 2269
[exim.git] / test / lib / Exim / Runtest.pm
index 8d22544bfdcdd7de26d5a0d8e2ce688e82f22619..e41a29c8cb83cc0bb03b1375ecaf7d21657db55f 100644 (file)
@@ -103,6 +103,7 @@ sub exim_binary {
             my $os = `$_/scripts/os-type`;
             my $arch = `$_/scripts/arch-type`;
             chomp($os, $arch);
+            ($ENV{build} ? "$_/build-$ENV{build}" : ()),
             "$_/build-$os-$arch" . ($ENV{EXIM_BUILD_SUFFIX} ? ".$ENV{EXIM_BUILD_SUFFIX}" : '');
         } @candidates;
 
@@ -136,7 +137,7 @@ sub flavour {
 
 sub flavours {
     my %h = map { /\.(\S+)$/, 1 }
-            glob('stdout/*.*'), glob('stderr/*.*');
+            grep { !/\.orig$/ } glob('stdout/*.*'), glob('stderr/*.*');
     return sort keys %h;
 }