From: Jeremy Harris Date: Thu, 8 Nov 2018 12:58:27 +0000 (+0000) Subject: Testsuite: check for conflicting host name X-Git-Tag: exim-4.92-RC1~40 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/4a7ad62b15ea97dd2de1c98d0cd0219f99233bce Testsuite: check for conflicting host name --- diff --git a/test/runtest b/test/runtest index 76e1177c5..d4cf9f90e 100755 --- a/test/runtest +++ b/test/runtest @@ -3385,6 +3385,12 @@ if ($parm_hostname =~ /[[:upper:]]/) print "\n*** Host name has upper case characters: this may cause problems ***\n\n"; } +if ($parm_hostname =~ /\.example\.com$/) + { + die "\n*** Host name ends in .example.com; this conflicts with the testsuite use of that domain.\n" + . " Please change the host's name (or comment out this check, and fail several testcases)\n"; + } + ##################################################