summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-11-08 12:58:27 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2018-11-08 12:58:27 +0000
commit4a7ad62b15ea97dd2de1c98d0cd0219f99233bce (patch)
tree14bb85549aa078184e8dd9a94450ea159b672ccf /test
parent7434882dd8dae78f598f41c9f9bcd42b2ee7f4a7 (diff)
Testsuite: check for conflicting host name
Diffstat (limited to 'test')
-rwxr-xr-xtest/runtest6
1 files changed, 6 insertions, 0 deletions
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";
+ }
+
##################################################