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
(parent:
8bc732e
)
Test suite: completely omit 127/8 IPs
author
Todd Lyons
<tlyons@exim.org>
Mon, 20 Oct 2014 14:14:42 +0000
(07:14 -0700)
committer
Todd Lyons
<tlyons@exim.org>
Mon, 20 Oct 2014 14:14:59 +0000
(07:14 -0700)
test/runtest
patch
|
blob
|
history
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;
- next if ($ip
eq "127.0.0.1"
);
+ next if ($ip
=~ /^127\./
);
$parm_ipv4 = $ip;
}