summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2016-10-20 00:15:03 +0200
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2016-10-20 00:48:30 +0200
commit25adc2a87877ad82fdfeb251ef401da2af66dd19 (patch)
tree6acea4b38297985a1a3be9a5f75fa263d79c4bd4 /test
parent1ef2730eb3d31c57a088b0491dfb5096f65b289a (diff)
Testsuite: cosmetical change
Diffstat (limited to 'test')
-rwxr-xr-xtest/runtest9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/runtest b/test/runtest
index 343630972..bdba26fc9 100755
--- a/test/runtest
+++ b/test/runtest
@@ -2167,8 +2167,7 @@ elsif (/^((?i:[A-Z\d_]+=\S+\s+)+)?(\d+)?\s*(sudo(?:\s+-u\s+(\w+))?\s+)?exim(_\S+
# Done backwards just in case there are more than 9
- my($i);
- for ($i = @msglist; $i > 0; $i--) { $args =~ s/\$msg$i/$msglist[$i-1]/g; }
+ for (my $i = @msglist; $i > 0; $i--) { $args =~ s/\$msg$i/$msglist[$i-1]/g; }
if ( $args =~ /\$msg\d/ )
{
tests_exit(-1, "Not enough messages in spool, for test $testno line $lineno\n")
@@ -2360,9 +2359,9 @@ print "Exim tester $testversion\n";
# we map all (.../bin) to (.../sbin:.../bin)
$ENV{PATH} = do {
my %seen = map { $_, 1 } split /:/, $ENV{PATH};
- join ':' => map { m{(.*)/bin$}
- ? ( $seen{"$1/sbin"} ? () : ("$1/sbin"), $_)
- : ($_) }
+ join ':' => map { m{(.*)/bin$}
+ ? ( $seen{"$1/sbin"} ? () : ("$1/sbin"), $_)
+ : ($_) }
split /:/, $ENV{PATH};
};