Skip to content

Conversation

justin-stephenson
Copy link
Collaborator

Add integration tests to complete the following:

  • Check that tlog-rec can record to syslog correctly, and observes facility
    and priority settings
  • Check that tlog-rec can record to journal correctly, observes the priority
    setting, and adds the documented extra Journal fields correctly

I started writing code for the syslog test to handle non-Red Hat based linux distributions but discarded it as (currently) the integration test setup will not work for non-red hat systems.

@sabbaka @spoore1 @spbnick Could you please review?

@coveralls
Copy link

coveralls commented Apr 4, 2019

Coverage Status

Coverage remained the same at 29.515% when pulling 46a325f on justin-stephenson:jstephen_add_journal_syslog_tests into eb32508 on Scribery:master.

Add test to validate TLOG journal fields are added as
expected using the default journal writer configuration.
Add test to validate the expected journal priority field is written
when the --journal-priority argument is used.
Add test to validate the expected syslog priority and facility
fields when the --syslog-priority and --syslog-facility arguments
are used.
@justin-stephenson justin-stephenson force-pushed the jstephen_add_journal_syslog_tests branch from b19853c to 46a325f Compare April 5, 2019 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants