diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2018-11-08 12:58:27 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2018-11-08 12:58:27 +0000 |
commit | 4a7ad62b15ea97dd2de1c98d0cd0219f99233bce (patch) | |
tree | 14bb85549aa078184e8dd9a94450ea159b672ccf /test | |
parent | 7434882dd8dae78f598f41c9f9bcd42b2ee7f4a7 (diff) |
Testsuite: check for conflicting host name
Diffstat (limited to 'test')
-rwxr-xr-x | test/runtest | 6 |
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"; + } + ################################################## |