projects
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7434882
)
Testsuite: check for conflicting host name
author
Jeremy Harris
<jgh146exb@wizmail.org>
Thu, 8 Nov 2018 12:58:27 +0000
(12:58 +0000)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Thu, 8 Nov 2018 12:58:27 +0000
(12:58 +0000)
test/runtest
patch
|
blob
|
blame
|
history
diff --git
a/test/runtest
b/test/runtest
index 76e1177c56c214ba7c47e819c14aa090a32e20f8..d4cf9f90e5e6fda4085a513776afc5faf3fdf349 100755
(executable)
--- 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";
+ }
+
##################################################