4 Commits

Author SHA1 Message Date
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
PascalWithopf
1628ef2a37 testbench: workaround for solaris 2017-04-13 14:07:38 +02:00
Thomas D
b1983d0951 Make privdrop tests more portable and robust
- Don't use $UID, use $EUID instead

- Allow user to specify testuser (through RSYSLOG_TESTUSER env variable)
  or fall back to various default users

- Validate if user running tests can really impersonate another user

- Test if testuser really exists

Fixes: https://github.com/rsyslog/rsyslog/issues/927
2016-04-15 13:34:52 +02:00
Rainer Gerhards
9c48715fdd testbench: add tests for $PrivDropToUser* 2016-03-24 18:05:39 +01:00