Hello,

Rainer wrote:
> HOWEVER, it is correct that the testbench does not throw an error,
> because the config is to NOT abort on errors. So in that regard it
> works like it should.

...wait, to be clear:

1) It is one thing to run *all* the tests and don't break on the first
error.
That would be OK!

2) But "make check" should never ever return 0 when at least one test
failed.
That would be wrong.

3) The test scripts should check rsyslogd's exit value (and any other exit
values from commands they call). If rsyslogd exit with a non-zero exit code
(like what will happen when rsyslogd will throw an CONFIG ERROR) the script
should detect that and the test should fail.


I am not sure, do we disagree in one point?


-Thomas


_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to