diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2015-05-19 17:41:35 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2015-05-19 22:30:32 +0100 |
commit | d1139f18482c3d4847e5bb6bf5619f61e03e8c31 (patch) | |
tree | 76f2a2f128ac88c2ef92e98a78ff60b9ea2c1d3f /test | |
parent | b9716b3c5a3992ee5ff0bf38e9182e90dad41b9f (diff) |
Testsuite: avoid tryng to run in net 10.
Diffstat (limited to 'test')
-rw-r--r-- | test/README | 2 | ||||
-rwxr-xr-x | test/runtest | 2 |
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; } |