James,

sorry, I do not fully understand your message. So a couple of things:

The testbench is self-contained. It does not interfere with your
regular config in any way. If you don't do strange things (like
listening on port 13514/TCP), the testbench can run in parallel with
your regular installation.

The version you use (8.4.2) is outdated. You should replace it with
the current one (today we release 8.11.0). In current versions, you
need to set the configure option --enable-testbench in order to get
tests. But I don't remember if that is the same with your version.

HTH
Rainer

2015-06-30 0:53 GMT+02:00 James Chang <[email protected]>:
> Hello,
>
> I'm getting no tests run after going through the testsuite for rsyslog
> 8.4.2. I'm looking at the following:
>
>
> [cfg.sh]:
> local directory
> tmp
> /builds/jamechan/rsyslog-tests/components/rsyslog/rsyslog-8.4.2/tests/DevNul
>
> l.cfgtest differ: char 1, line 1
> DevNull.cfgtest failed
> Expected:
> rsyslogd: CONFIG ERROR: there are no active actions configured. Inputs will
> run,
>  but no output whatsoever is created. [try http://www.rsyslog.com/e/2103 ]
> rsyslogd: EMERGENCY CONFIGURATION ACTIVATED - fix rsyslog config file!
> Received:
> use "man rsyslogd" for details. To run rsyslog interactively, use "rsyslogd
> -n"t
> o run it in debug mode use "rsyslogd -dn"
> For further information see http://www.rsyslog.com/doc
> FAIL cfg.sh (exit status: 1)
>
>
> $ /usr/lib/rsyslog/rsyslogd -c4 -N1 -f/dev/null |& head -2
> rsyslogd: version 6.2.0, config validation run (level 1), master config
> /dev/null
> rsyslogd: CONFIG ERROR: there are no active actions configured. Inputs will
> run, but no output whatsoever is created. [try http://www.rsyslog.com/e/2103
> ]
>
>
> The scripts also use -c, which I think is deprecated. It seems to not be
> able to find my included config files in /etc/rsyslog.conf, or is it
> testing a different conf file? In addition, is there any record of users
> having no tests run after running the testsuite? There are so many tests,
> and I am trying to enable at least a couple of them...
>
> -- James
> _______________________________________________
> 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.
_______________________________________________
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