6 Commits

Author SHA1 Message Date
Rainer Gerhards
5d144c0e62 testbench: make plumbing work on AIX
also fix issue with mmanon - tests were executed even if module
was not enabled
2018-08-31 09:06:46 -05:00
Rainer Gerhards
8ea166d89d
testbench: fix some hardcoded names (#2895)
* testbench: fix some hardcoded names

This is prework to make parallel execution of tests possible.
2018-08-01 12:52:17 +02:00
Rainer Gerhards
2ba3c8ddde
testbench: modernize testbench plumbing
changes some of the test commands to use bash functions
includes some small bug fixes to tests where bugs were
previously not seen due to different plumbing.
2018-07-23 17:26:34 +02:00
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