From d1139f18482c3d4847e5bb6bf5619f61e03e8c31 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 19 May 2015 17:41:35 +0100 Subject: [PATCH] Testsuite: avoid tryng to run in net 10. --- test/README | 2 +- 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 "") && ($_ = )) $_ =~ /^\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; } -- 2.30.2