git://git.exim.org
/
users
/
heiko
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test suite: completely omit 127/8 IPs
[users/heiko/exim.git]
/
test
/
runtest
diff --git
a/test/runtest
b/test/runtest
index a62cd153e84980d0e10c7e3d7f58debe67d41fb8..bfc02eda28e2176b9c24d3585556d673ee599a9a 100755
(executable)
--- a/
test/runtest
+++ b/
test/runtest
@@
-2761,7
+2761,7
@@
while (($parm_ipv4 eq "" || $parm_ipv6 eq "") && ($_ = <IFCONFIG>))
$_ =~ /^\s*inet(?:\saddr)?:?\s?(\d+\.\d+\.\d+\.\d+)\s/i)
{
$ip = $1;
$_ =~ /^\s*inet(?:\saddr)?:?\s?(\d+\.\d+\.\d+\.\d+)\s/i)
{
$ip = $1;
- next if ($ip
eq "127.0.0.1"
);
+ next if ($ip
=~ /^127\./
);
$parm_ipv4 = $ip;
}
$parm_ipv4 = $ip;
}