From 4a7ad62b15ea97dd2de1c98d0cd0219f99233bce Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Thu, 8 Nov 2018 12:58:27 +0000 Subject: [PATCH] Testsuite: check for conflicting host name --- test/runtest | 6 ++++++ 1 file changed, 6 insertions(+) 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"; + } + ################################################## -- 2.25.1