9 Commits

Author SHA1 Message Date
Rainer Gerhards
3f415a632b
testbench: improve code style, reduce duplication
based on issues detected by shellcheck
2018-11-05 11:18:05 +01: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
203cf82be8 testbench: add support for solaris 2017-04-03 14:14:56 +02:00
Rainer Gerhards
6de3578f38 testbench: libfaketime y2k38 detection needs fix
due to new LD_PRELOAD support
2016-10-31 09:52:02 +01:00
Rainer Gerhards
86e8b9c0aa testbench: adapt existing framework to upcoming LD_PRELOAD tests 2016-10-27 15:05:29 +02:00
Thomas D
87ebc8d865 testbench: Fix libfaketime regression
We cannot rely that libfaketime will be in system's LD search path. Also we do not
know libfaketime's SONAME (can be changed in future).

This patch will use "find" to determine latest libfaketime.so in "/usr".

Fixes: https://github.com/rsyslog/rsyslog/issues/992
2016-05-05 11:09:57 +02:00
Thomas D
b81d6dd365 testbench: Use LD_PRELOAD=libfaketime.so instead of faketime binary
Fixes: https://github.com/rsyslog/rsyslog/issues/963
2016-04-19 02:09:18 +02:00
Thomas D
35b838b13e testbench: Add missing exit calls to {faketime,privdrop}_common.sh
"diag.sh exit" just cleans up so we still have to end the tests when skipping
with a real exit on our own.
2016-04-19 00:00:00 +02:00
Thomas D
bfd4583b8c testbench: Run year-2038 tests only on systems which supports those dates
Fixes: https://github.com/rsyslog/rsyslog/issues/873
2016-03-14 11:56:51 +01:00