Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more journal/syslog integration tests #240

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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.

None yet

2 participants