3 Commits

Author SHA1 Message Date
Rainer Gerhards
b8339389cc doc: add description of what empty-hostname.sh test actually does
see also https://github.com/rsyslog/rsyslog/issues/1268
2016-11-24 10:29:18 +01:00
Rainer Gerhards
5de8b4ee5c testbench: fix empty-hostname.sh test & change support for empty hostname
If gethostname() returned "", we used "localhost" as mock-up hostname.
However, this caused problems depending on how the local system name was
actually configured.

We have changed the mock-up hostname to "localhost-empty-hostname" now
to clearly indicate the problem. Also, we make sure that we do no
accidently try to resolve the mock-up hostname.

closes https://github.com/rsyslog/rsyslog/issues/1268
2016-11-21 16:32:58 +01:00
Rainer Gerhards
75715fe2f8 testbench: add test for empty host name 2016-10-27 11:12:47 +02:00