summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/README2
-rwxr-xr-xtest/runtest2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/README b/test/README
index 4f43b0b1a..f63c97fa4 100644
--- a/test/README
+++ b/test/README
@@ -114,7 +114,7 @@ In order to run this test suite, the following requirements must be met:
is also an IPv6 address, additional tests are run when the Exim binary
contains IPv6 support. There are checks in the scripts for a running IPv4
interface; when one is not found, some tests are skipped (with a warning
- message).
+ message). The local net may not be in 10.0/8 as that is used by the suite.
(9) Exim must be built with TRUSTED_CONFIG_LIST support, so that the test
configs can be placed into it. A suitable file location is .../exim/test/trusted_configs
diff --git a/test/runtest b/test/runtest
index 70f1d9b4b..157ff050a 100755
--- a/test/runtest
+++ b/test/runtest
@@ -2904,7 +2904,7 @@ while (($parm_ipv4 eq "" || $parm_ipv6 eq "") && ($_ = <IFCONFIG>))
$_ =~ /^\s*inet(?:\saddr)?:?\s?(\d+\.\d+\.\d+\.\d+)\s/i)
{
$ip = $1;
- next if ($ip =~ /^127\./);
+ next if ($ip =~ /^127\./ || $ip =~ /^10\./);
$parm_ipv4 = $ip;
}